We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
When the template includes datetime.today() it fails with the error:
VM2852 wasm-pack-shim-JR56DANV.js:822 panicked at std/src/sys/pal/wasm/../unsupported/time.rs:31:9: time not implemented on this platform
After removing this code, it still fails with:
Error: recursive use of an object detected which would lead to unsafe aliasing in rust
To Reproduce
Use datetime.today() function https://typst.app/docs/reference/foundations/datetime/#definitions-today
datetime.today()
Expected behavior
Return the datetime, if that's not possible with wasm, improve the error handling so that it doesn't panice
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
reflexo::time::now
Successfully merging a pull request may close this issue.
Describe the bug
When the template includes datetime.today() it fails with the error:
After removing this code, it still fails with:
To Reproduce
Use
datetime.today()
function https://typst.app/docs/reference/foundations/datetime/#definitions-todayExpected behavior
Return the datetime, if that's not possible with wasm, improve the error handling so that it doesn't panice
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: