2 Commits

Author SHA1 Message Date
Tony Parker
2ea76c322f
Add an HTTP format style for both Date and DateComponents (#1127)
* Add an HTTP format style for both `Date` and `DateComponents`.

* Correct the comments to properly use DateComponents type

* Use default values instead of crashing when formatting date components with missing or invalid fields

* Use 59 seconds instead of 0 for leap second of 60 - this results in being off by only 1 second in this case instead of 59.

* Address some review feedback
2025-03-13 11:39:57 -07:00
Tony Parker
d65c11fead
Enable ISO8601 encoding and decoding on top of new ISO8601 implementation (#526) 2024-04-05 10:52:34 -07:00