Summary: | Bad calculated album mean date when pictures before 1970 | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Stéphane Pontier <shadow.walker> |
Component: | Metadata-Date | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | caulier.gilles, KaiUweBroulik2 |
Priority: | NOR | ||
Version: | 1.5.0 | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.0.0 | |
Sentry Crash Report: | |||
Attachments: | Picture tagged from 1910-05-28 |
Description
Stéphane Pontier
2010-11-13 13:06:57 UTC
Interesting problem. Obviously, the Unix Epoch does have its weaknesses ;-) Can you provide such a picture for testing? I would like to see where it works and where things break. Seems to be an variable overflow/negative sign fault Created attachment 53430 [details]
Picture tagged from 1910-05-28
SVN commit 1217733 by mwiesweg: Do not use time_t when calculating average date, that works only on a limited scale. Use QDate's Julian Day to get a much wider range. BUG: 256789 M +2 -1 NEWS M +10 -21 libs/database/albumdb.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1217733 |