|
From: Milan B. <mil...@gm...> - 2007-10-28 23:38:36
|
On 10/28/07, Michael Hieke <mg...@gm...> wrote: > How about initializing the day, month, year values with > the current date, parsing the entered value according to the date > format, and refusing to accept invalid values for day, month and year? Ok. > This way "0" would only be valid if the format started with the year, It should not be, as there is no such thing as 'year zero', at least not in our calendar. There is 'year 1 AD' and year before that was 'year 1 BC'. > while for example "1" could be either the first day of the month, > January, or 2001 (depending on the format). Fine with me. > Please note that special values like "DATE", "TIME", "NOW" and "TODAY" > are accepted in the SVN version for entering dates, times and > timestamps. If there are other ideas for making data entry more robust > and user-friendly, please share them. Well, maybe supporting everything that Firebird supports (like YESTERDAY, TOMORROW, etc.) would be nice, but I'm not sure it is really needed. -- Milan Babuskov http://www.flamerobin.org |