Comment #2 on issue 2059 by [email protected]: Date.setHours() + 1 cannot pass 25.3.2012
http://code.google.com/p/v8/issues/detail?id=2059

The similar problem is present for the setMinutes() function.

The code

var end_of_time = new Date(2013,0,1);
var begin = new Date( end_of_time );
begin.setMonth(begin.getMonth() - 12);
for( var clock=begin; clock<=end_of_time; clock.setMinutes( clock.getMinutes() + 5)) { print(clock) }

loops forever at March, 11.

using UTCMinutes is a workaround for now.

Tested with trunk.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to