Fix an off-by-2 error in the leap year calculation. (#344905, Dan Winship)
authorMatthias Clasen <mclasen@redhat.com>
Tue, 20 Jun 2006 16:37:43 +0000 (16:37 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 20 Jun 2006 16:37:43 +0000 (16:37 +0000)
commit1f536d2f1233ede8ef7b205864e72e8ea233c97e
treeb643f82c38eed463350300c59f382027a835b4d1
parentde6a4865a0612d49e0bad5777156aaa3b5cadb09
Fix an off-by-2 error in the leap year calculation. (#344905, Dan Winship)

2006-06-20  Matthias Clasen  <mclasen@redhat.com>

* glib/gtimer.c (mktime_utc): Fix an off-by-2 error
in the leap year calculation.  (#344905, Dan Winship)

* tests/testglib.c (main): Change the test data for
the g_time_val_from_iso8601 tests to expose an off-by-2
error in the leap year calculation.
ChangeLog
ChangeLog.pre-2-12
glib/gtimer.c
tests/testglib.c