Re: Daylight-Saving Causes Twin Arrival Pickle

2007-11-08 Thread Zefram
Rick Measham wrote: http://www.wral.com/news/local/story/2011296/ When Parliament was debating the introduction of DST in the UK, as a wartime measure in 1916, Lord Balfour (a member of the House of Lords, the upper chamber of Parliament), with the usual aristocratic concern for matters of

Re: Patch for DateTime::Format::W3CDTF to respekt second fragment part

2007-11-08 Thread Zefram
Jonathan Leffler wrote: Or, what happens if there are 10 digits after the decimal point. That's what the substr() is for. Yeah, mostly academic, except I'm working towards a time type (not for Perl per se) that extends down to picoseconds (and up to 10^12 years, too). At least 105 bits, then.

Re: Patch for DateTime::Format::W3CDTF to respekt second fragment part

2007-11-08 Thread Jonathan Leffler
Zefram [EMAIL PROTECTED] wrote: Re: Patch for DateTime::Format::W3CDTF to respekt second fragment part Julian Haupt wrote: +if ($date =~ s/\.(\d+)$// ) +{ + my $fraction = $1; + $p{'nanosecond'} = (1 / $fraction) * 10**9; +} That inversion can't be right. Surely you