GNOME Bugzilla – Bug 724336
bug in util-time.vala means all internaldate_time_t values are in the year 3800
Last modified: 2014-02-14 02:09:55 UTC
In util-time.vala, line 24, there's some code to set the year of a GLib.Time, where a value of 0 represents the year 1900. We set it to a minimum of 1900, though, which represents the year 3800. As a result, any time_t that comes out of the function will be in the year 3800. This is affecting our search function, where because everything is in the same year, results from December of any year show up as later than results from January of any year (even if that January is actually the following month). Since we only show the last however many results, I simply can't find some email from this January/February. We need to fix util-time.vala (changing the minimum of 1900 to a minimum of 0 would probably do the trick), and then do a new database version that blows away all values in the internaldate_time_t column (which is I believe the only one affected here) and repopulates it correctly.
*** This bug has been marked as a duplicate of bug 724335 ***