http://bugzilla.gnome.org/show_bug.cgi?id=343970
Rittyan found a bug where the time in browsemode is in local time, but the time in the info box is in UTC time. >From IRC session <rittyan> I think I found a bug... in our f-spot's browsers photo's date is 6:26 and 6:57... and on sidebar its 2:26 and 2:57... <rittyan> nothing about this "2:26" and "2:57" in metadata browser :< <rittyan> (real time of course is 6am) <rittyan> http://img173.imageshack.us/img173/5682/fspotbug6df.jpg Checking the InfoBox.cs code on row 271 gives: date_label.Text = String.Format ("{0}\n{1}", photo.Time.ToShortDateString (), photo.Time.ToShortTimeString ()); And checking IconView.cs on row 245 gives: if (cell_width > 200) { date = photo.Time.ToLocalTime ().ToString (); } else { date = photo.Time.ToLocalTime ().ToShortDateString (); } The patch I created is as follows: date_label.Text = String.Format ("{0}\n{1}", - photo.Time.ToShortDateString (), - photo.Time.ToShortTimeString ()); + photo.Time.ToLocalTime ().ToShortDateString (), + photo.Time.ToLocalTime ().ToShortTimeString ()); _______________________________________________ F-spot-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/f-spot-list
