Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[S32] DateTime immutable, leap seconds validation
The rest of this message is from Kodi++, who prepared the combined spec/Rakudo patch: There are two major changes here: DateTimes are now immutable and DateTime constructors now validate leap seconds. tai-utc should provide a hash, not a subroutine, but this doesn't work when Rakudo is compiled. It shouldn't be too hard to write a Perl 5 script, to be run as part of Rakudo's build process, that automatically updates the leap-second table in tai-utc.pm. I haven't run DateTime-strftime.t because ++supernovus is moving strftime out of Rakudo, and hence DateTime-strftime.t out of pugs. git-svn-id: http://svn.pugscode.org/pugs@31789 c213334d-75ef-0310-aa23-eaa082d1ae64
- Loading branch information
masak
committed
Jul 22, 2010
1 parent
ef38e3e
commit 3d7d132
Showing
1 changed file
with
50 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters