zola/components/utils
Nikita Karamov 56122defde Fix YAML date parsing (#2549)
* Refine YAML date regex

This commit does a few changes:

- Introduce a new regex
  - it is a bit off-spec (it allows one-digit months and days in date-only mode)
  - uses named groups
  - avoids group duplication
- parses offset once

Fixes #2538

* Fix nanosecond parsing

* Rename variables for brewity

* Add tests
2024-08-15 20:19:03 +02:00
..
src Fix YAML date parsing (#2549) 2024-08-15 20:19:03 +02:00
test-files Create pull request/add yaml to load data (#1842) 2022-04-29 20:22:02 +02:00
test-templates Fix some theme extension 2020-02-10 23:09:22 +01:00
Cargo.toml Add support for yaml datetimes (#2208) 2024-06-20 23:15:24 +02:00