mirror of
https://github.com/sbrow/thor.git
synced 2026-08-26 11:23:32 -04:00
feat(mustache): apply_format now accepts timezone info.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user