This project is archived and is in readonly mode.
Almost 1 second extra in time subtraction (rails 2.3.4)
-
CancelProfileIsBroken
- Tag changed from 2.3.4, float, time, timewithzone to 2.3.4, bugmash, float, time, timewithzone
-
John Guenin
-1 Rails 2.3.4 adds usec to Time#end_of_day. The new value is actually more accurate.
# Rails 2.3.4 def end_of_day change(:hour => 23, :min => 59, :sec => 59, :usec => 999999.999) end # Rails 2.3.3 def end_of_day change(:hour => 23, :min => 59, :sec => 59) end -
Blue Box Chris
- Rails 2.3.4 is more accurate
@@@ Ruby
Rails 2.0.5
def end_of_day
change(:hour => 23, :min => 59, :sec => 59)end
-
Blue Box Chris
Pardon my terrible formatting above. The intent was.
-1 Rails 2.3.4 is more accurate
Rails 2.0.5
def end_of_daychange(:hour => 23, :min => 59, :sec => 59)end
-
Robert Rouse
-1 for the feature.
I agree with John and Chris
-
Elad Meidar
- Tag changed from 2.3.4, bugmash, float, time, timewithzone to 2.3.4, bugmash, bugmash-review, float, time, timewithzone
Yap, seems like the initial approach was the wrong one.
-1 on feature, i think this one should be closed too. -
Matías Flores
-1 The new behavior is more accurate. Actually almost a whole second was missing in 2.3.3 and below.
-
John Pignata
-1 - the new behavior is desirable.
-
sr.iniv.t
I'm with John and Chris on end_of_day computation.
-
Kieran P
-1 In 2.3.4, you are fractionally closer to the end of the day, which is more accurate than 2.3.3.
-
MOROHASHI Kyosuke
-1 I feel new behavior more reasonable, too.
-
CancelProfileIsBroken
- State changed from new to invalid
- Tag changed from 2.3.4, bugmash, bugmash-review, float, time, timewithzone to 2.3.4, float, time, timewithzone
The masses have spoken.