Repository navigation
update(deps): upgrade jiff to 1.x and honour strftime_now format and zone - #3489
Merged
Merged
Conversation
…d zone jiff 1.x is released, and the chat-template strftime_now ignored its argument and always returned the UTC date as "%d %b %Y". clock.rs gains strftime_in (jiff strtime formatter in a given zone) and strftime_now (host zone, UTC fallback); a malformed or unsupported directive returns the format unchanged and logs once at debug. chat_template.rs registers strftime_now on the real render path, and day_month_year and day_month_year_now are removed. jiff moves to 1 with tz-system, tzdb-zoneinfo and tzdb-bundle-platform (bundled database on Windows only). All existing clock assertions pass unchanged; the day_month_year test now calls strftime_in with "%d %b %Y" in UTC. Closes #3480
inureyes
marked this pull request as ready for review
November 27, 2026 05:15
5 of 6 tasks
1 task done
inureyes
added a commit
that referenced
this pull request
Nov 28, 2026
## Summary
Adds the bilingual technical reports that were skipped when these three PRs merged on 2026-11-27:
- `TECHNICAL_REPORTS/3489-jiff-1x-strftime-now-20261127.{en,ko}.md` (#3489, jiff 1.0.3 and the `strftime_now` format and zone)
- `TECHNICAL_REPORTS/3490-vision-resize-frame-parity-20261127.{en,ko}.md` (#3490, resize and frame-sampling parity)
- `TECHNICAL_REPORTS/3491-qwen35-mtp-drafter-yarn-20261127.{en,ko}.md` (#3491, YaRN in the Qwen 3.5 MTP drafter)
Each report records the decisions the PR encodes (for example why ERNIE follows the checkpoint's `processing_ernie4_5_vl.py` rather than transformers or mlx-vlm, and why the drafter YaRN table is installed by the binary crate's loader) and what remains unverified.
## Test plan
Docs only. Remote CI was cancelled by maintainer decision.
- [x] Facts cross-checked against the merged diffs, PR bodies and the local validation output
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.
Summary
Upgrades jiff from 0.2.46 to 1.0.3 and makes the chat-template
strftime_nowhonour its format argument and the host time zone. It used to return the UTC date as%d %b %Ywhatever the template asked for.day_month_yearandday_month_year_noware removed (only tests used them), and the existing%d %b %Ytest now goes throughstrftime_in.jifffeatures:std,tz-system,tzdb-zoneinfo(host zoneinfo on Unix),tzdb-bundle-platform(bundled database on Windows only). Output of every other timestamp is unchanged and all pre-existingclock_tests.rsassertions pass as written. The host zone falls back to UTC when it cannot be determined. An unsupported directive (for example%J) returns the format unchanged and logs once at debug level.cargo tree -p mlxcel -e normal -i jiffbefore:jiff v0.2.46. After:jiff v1.0.3. Lock changes: jiff 0.2.46 to 1.0.3, jiff-core 0.1.8 to 1.0.2, jiff-static 0.2.46 to 1.0.3, new jiff-tzdb 1.0.0 and jiff-tzdb-platform 1.0.0 (the last two are only pulled in on Windows).Test plan
Remote CI was cancelled by maintainer decision; validation is local.
cargo fmt --all -- --checkcargo clippy -p mlxcel --lib --tests --features metal,accelerate -- -D warningscleancargo test -p mlxcel --lib --profile test-fast --features metal,accelerate server::clock: 9 passed (new: fixed-instant formats,+09:00zone moves 23:30 UTC to the next day, unsupported directive)cargo test ... server::chat_template: 167 passed, 4 ignored (new:strftime_now("%Y-%m-%d")rendersYYYY-MM-DDthrough the template path)cargo deny check: advisories, bans, licenses, sources ok, no new exemptionsCloses #3480