feat(mustache): apply_format now accepts timezone info.

This commit is contained in:
Spencer Brower
2026-07-24 11:22:00 -04:00
parent 4d847d95d3
commit 4f09312daf
3 changed files with 101 additions and 3 deletions
+2 -1
View File
@@ -32,7 +32,8 @@
## Dates
- [x] Accept "strings"
- [x] Accept keys
- [ ] handle timezones
- [x] handle timezones
- [ ] Fix TZ cache leak in parallel tests: `tz_cache` uses `context.allocator` (tracking allocator in tests), but it's global state shared across parallel test threads. Race causes leak warnings. Fix: use heap allocator for TZ cache.
- [ ] display an error when no part of the date appears in the output.
- [x] use `date.format` as the default format.
- [ ] Handle 0 and whitespace padding i.e. "_2" -> " 2"