So, here is the pilot version of Span of Datetimes.
As always, the main point is in simplicity and speed: you can use this extension only with keyboard - completely without a mouse!
Useful things that may be interesting for users:
* Regexps for inserting dates and times:
Dates /([0,1,2,3][0-9])[\., \,, \-, \/]([0,1,2][0-9])[\., \,, \-, \/]([1,2][0-9][0-9][0-9])/
Times /([0,1,2][0-9])[:, \., \,. \-]([0,1,2,3,4,5][0-9])/
* Format for date input is european DD.MM.YYYY.
* Works with negative values! For example, add -1 days to 02.10.2013 will be 01.10.2013.
One thing that I really wanted to do, but didn't succeed - masks for input fields. I used a jQuery for writing a mask functions and it worked in usual HTML page, but it didn't work if a opened same page in extension mode. So it some kind of jQuery-extension integration problem. So I hope I'll do masks in next versions.
And useful tip about browser - you can configure hot-keys for extension in the Google Chrome: * open the extensions tab - chrome://extensions/; * Link "Configure commands" at the bottom;
* Choose an extension and type a shortcut.
See new posts:
November 20, 2013 Span Of Datetimes v0.2
December 3, 2013 Span Of Datetimes v0.3
January 3, 2014 Span Of Datetimes v0.4
March 3, 2014 spanD v1.0
April 12, 2014 spanD v1.1