https://bugzilla.wikimedia.org/show_bug.cgi?id=26090
Summary: EXIF date prefill does not deal with insane dates well Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: UploadWizard AssignedTo: ne...@wikimedia.org ReportedBy: ne...@wikimedia.org CC: gpaum...@wikimedia.org, asha...@wikimedia.org If it encounter an EXIF value like DateTimeDigitized: "0000:00:00 00:00:00" it parses the date wrong. For this value, we get Nov 30, 1899. This suggests we are blindly using the numbers given, with offsets for the month (this is year zero, 1900, and month 0 == month -1, day 0 = day -1, at midnight). Solution (?) check dates for sanity before prefilling. Year, month, and day of zero are all impossible. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l