Bug 10899 - "creation_date" in "news -> edit/create" displays 02/00/0 when the date inputed is 08/11/1940
Summary: "creation_date" in "news -> edit/create" displays 02/00/0 when the date input...
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 13:51 UTC by Olli-Antti Kivilahti
Modified: 2015-12-03 22:00 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olli-Antti Kivilahti 2013-09-17 13:51:56 UTC
When setting the "creation_date" in "news -> edit/create" to 08/11/1940,
in all views it is shown as 02/00/0.
02/00/0 is the "uh-oh there is no valid date."

mysql database value is "opac_news.timestamp = 0000-00-00 00:00:00"
Comment 1 Owen Leonard 2014-09-24 14:38:13 UTC
I assume the bug affects any date before 1970-01-01. I also assume the issue is moot in practical terms because no system would have posted news before 1970.
Comment 2 Olli-Antti Kivilahti 2014-09-24 15:25:42 UTC
Hence the trivial importance :)

Thanks for commenting anyway!
Comment 3 Jonathan Druart 2015-04-22 10:01:02 UTC
That's not a bug, the creation date is stored into opac_news.timestamp