mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-25 08:34:08 +01:00
Introduced user preference for time zone (migration, model and prefs forms)
Made all dates and times stored in UTC in the database and presented according to the User's preferred time zone. Cleaned up old unused preference methods in UserController Restored keyboard shortcuts for date field interaction Aliased preference in User model to prefs for brevity Don't forget to rake db:migrate for this update! All tests pass, but there were a lot of little changes involved in this feature. Please help me test it thoroughly if you're using the trunk. Fixes #349 git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@392 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
9a444be3fe
commit
2329cb8e1e
30 changed files with 218 additions and 191 deletions
|
|
@ -213,9 +213,8 @@ Calendar.setup = function (params) {
|
|||
* they still work properly. Pressing '+' when no date is entered in the
|
||||
* field will set the date to tomorrow, and likewise '-' with no date
|
||||
* entered will set the date to yesterday.
|
||||
* 2006-10-24: Commented out while trying to use Chronic library for the field
|
||||
*/
|
||||
/*DateDueKeyboardShortcutSupport = Class.create();
|
||||
DateDueKeyboardShortcutSupport = Class.create();
|
||||
DateDueKeyboardShortcutSupport.prototype = {
|
||||
initialize: function(element, dateFormat) {
|
||||
this.element = $(element);
|
||||
|
|
@ -298,4 +297,4 @@ DateDueKeyboardShortcutSupport.prototype = {
|
|||
((event.which) ? event.which : 0));
|
||||
return String.fromCharCode(charCode);
|
||||
}
|
||||
};*/
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue