Happy leap day
By Nicolas Mendoza. Friday, 29. February 2008, 15:41:50
The fix was twofold, one fix in our frontend code that did its own month representation calculation, and one on the backend which had stuff like
if year % 4 && ! year % 100 && year % 400 in it. The solution was to move the calculation to one place, namely a standard third party library available for years and thorougly tested.This means My Opera now is leap year compliant (at least in the calendar module)! Of course, if you read this tomorrow, (that would be today for you, but then this article is from yesterday), you will only have to wait 4 years till next time. Oh, and if you fire up your time machine and travel to year 1 BC, it won't show up either. (Which reminds me we have to add a bug report about this feature might be stopping working in 2038).
Have a nice leap day! ;-)








Tamil # 29. February 2008, 15:44
NoteMe # 29. February 2008, 15:49
- ØØ -
Schalandra # 29. February 2008, 15:58
A friend of mine got 9 years old today. This summer he will marry for the second time.
ALLY_G # 29. February 2008, 17:05
And a happy leap day to you too!
Mickeyjoe_irl # 29. February 2008, 17:51
I'm reading it now. If I try to think about it any further it makes my brain hurt.
kyleabaker # 29. February 2008, 19:41
nudelsieb # 1. March 2008, 22:20
I'm glad that my program did not show a leap year bug (or none of the users found it)
namkhanh # 10. March 2008, 10:25
NoteMe # 10. March 2008, 13:14
- ØØ -
namkhanh # 10. March 2008, 14:01
bacaicoa # 14. March 2008, 15:51