Repository navigation
Update World::today() in tests to mimic CLI - #7853
Merged
Merged
Conversation
t-rapp
marked this pull request as draft
February 13, 2026 07:36
Create date values in tests with a chrono-based approach that is similar to the implementation in `typst-cli`. Suggested in typst#7691.
t-rapp
force-pushed
the
tr-today-offset-tests
branch
from
February 13, 2026 08:06
87c1765 to
0836677
Compare
Contributor
Author
|
Have also added a commit that avoids the local timezone offset being added in CLI for reproducible builds. This was also mentioned in #7691. If considered better I can split this change into a separate PR. |
t-rapp
marked this pull request as ready for review
February 13, 2026 08:13
Member
|
A separate PR would be nice. Thanks for tackling this! |
t-rapp
force-pushed
the
tr-today-offset-tests
branch
from
February 13, 2026 10:08
0836677 to
ae8d350
Compare
Contributor
Author
|
Moved the commit which changes when local timezone is applied to #7856. Regarding merging the implementations for |
Member
|
Great thanks! We can take a look at a potential typst-kit design once these changes are landed. |
laurmaedje
enabled auto-merge
February 16, 2026 10:31
Member
|
Thanks! |
jassielof
pushed a commit
to jassielof/typst
that referenced
this pull request
Apr 7, 2026
Co-authored-by: Laurenz <[email protected]>
Dikluwe
pushed a commit
to Dikluwe/typst-crystalline
that referenced
this pull request
Sep 12, 2026
Co-authored-by: Laurenz <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Create date values in tests with a chrono-based approach that is similar to the implementation in
typst-cli.Suggested in #7691.