Suggestion on how to handle pre-1970 dates
ozarfreo
Joined: 2009-04-20
Posts: 1 |
Posted: Mon, 2009-04-20 23:54 |
Gallery2 doesn't allow setting pre-1970 dates, and it's a long time this problem has been around. It is a requested feature, and there are several forum topics on this (see below). Fixing it the right way seems to involve too much work to be done, especially now that people are working on Gallery3, so I'd like to discuss a bad hack to fix it, which probably could be done fast and at least give people a way to set the dates... This is the suggestion. One usually wants to set the date of an old picture, but not the exact time. Then, one could give a special interpretation to the hour of the 1970 dates, so that they cover all years. For example, one could take the hour and minutes+seconds to mean the year; this is, 1970 Jan 24 18:57:00 could mean 1857 Jan 24 Using this, the modifications needed would be: 1- When showing on screen a 1970 date, use this interpretation to show the corresponding date. The advantage of this is that dates would be shown correctly for the user, and when sorting by date images would appear in the right order. The disadvantage is that some things may not work right away, as searching by date. What's more, it is a horribly wrong way to do it... But it can work. Some links to the requested feature at SourceForge, and forum topics: http://sourceforge.net/tracker/index.php?func=detail&aid=1462827&group_id=7130&atid=357130 |
|