On Mon, Sep 05, 2005 at 11:49:33PM -0500, Dave Rolsky wrote:
>   my $dt = DateTime->new( year => 2003, month => 9, time_zone => 
>   'America/Chicago' );
>   $dt->add( months => 3 );
> 
> Now what do you expect that to produce?  I suspect 99% of users expect 
> that to produce "2003-12-01T00:00:00".  In other words, we take month 9, 
> add 3, and get 12.  The time remains untouched.
> 
> But if add_duration did the math on the UTC portions it'd give you 
> "2003-11-30T23:00:00".

If I understand you correctly, your position is that user's will be
confused by DST transitions screwing up additions but won't notice the
same effect on subtractions?

-J

--

Attachment: pgpBdDrTSMYPC.pgp
Description: PGP signature

Reply via email to