Search - Enter a date
Posted: 08 Nov 2007 22:00
Hi,
i just played around with the Search/Date tab and found out that it's possible to browse through the dates with the arrow keys up/down when the edit box has the focus! Very convenient.
I just tried this because a little while ago i programmed a tool where i also had to input dates and where i implemented exactly this behaviour. And since i tweaked it even further i throw the following into the room:
I can tell you this is very convenient if you have to deal with lots and lots of date-edit fields like in my little app. But i guess the the cost-benefit ratio could be better in this case since working with the drop down menu and templates is also possible.
But you should definitely include a "Tip of the day" for this up/down feature. I couldn't find one in the official tips nor in the wiki.
Suggestion:
i just played around with the Search/Date tab and found out that it's possible to browse through the dates with the arrow keys up/down when the edit box has the focus! Very convenient.
I just tried this because a little while ago i programmed a tool where i also had to input dates and where i implemented exactly this behaviour. And since i tweaked it even further i throw the following into the room:
Code: Select all
Input -> Result (Assuming that it's 08.11.2007
Pressing "down" on empty field -> Yesterday (07.11.2007)
Pressing "up" on empty field -> Today (08.11.2007)
In case the input is one/two digits long assume it's the day of the last 30/31 day-span:
8 -> 08.11.2007
6 -> 06.11.2007
30 -> 30.10.2007
19 -> 19.10.2007
9 -> 09.10.2007
In case the input is three/four digits long do the same with the last 365 day span:
0810 -> 08.10.2007
2008 -> 20.08.2007
045 -> 04.05.2007
2412 -> 24.12.2006
In case it's five/six digits long just insert the delimiter:
130305 -> 13.03.2005
By entering a "-" subtract the number of days from "Today":
-5 -> 03.11.2007
-31 -> 08.10.2007
But you should definitely include a "Tip of the day" for this up/down feature. I couldn't find one in the official tips nor in the wiki.
Suggestion:
Code: Select all
#
Input a search date
You can quickly browse through dates by pressing up/down after focusing the date fields.
#