chiark / gitweb /
TOML::Tiny::Faithful: Provide own DateTime formatter
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 May 2020 00:06:07 +0000 (01:06 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 May 2020 00:18:28 +0000 (01:18 +0100)
commitf4110adc48067c3be4d5a389f4c8a92ba09c9395
tree2d18ea72a895a8f4585a7520bafa3104ea75b35f
parent385da7e5352d7bdae1e5003122a7a1d4d61bdd53
TOML::Tiny::Faithful: Provide own DateTime formatter

We want to preserve the ns and also preserve whether there was a
timezone.  This is a bit of a mess!

Currently this commit only changes things for the case where the
DateTime object didn't come from Faithful parser, because Faithful
uses RFC3339 which always demands a timezone.
cpanfile
lib/TOML/Tiny/Faithful.pm