[PATCH 0/1] Gitweb: Change timezone
- From
John 'Warthog9' Hawley <warthog9@eaglescrag.net>
- Date
- Mar 24, 2011, 00:08 UTC
- Message-ID
- <1300925335-3212-1-git-send-email-warthog9@eaglescrag.net>
- In-Reply-To
- <dab08d0ff27b0f571a17ed4f1ab0f39b@localhost>
This is just a javascript implementation of Kevin's localtime feature. It's pretty straight forward, though date handling in Javascript is, special (head bangingly so).
This should be good to run on any browser, with the safe fallback of UTC being the default output should Javascript not work / be available.
John 'Warthog9' Hawley (1): gitweb: javascript ability to adjust time based on timezone
gitweb/gitweb.perl | 64 +++++++++++++++- gitweb/static/js/common-defs.js | 12 +++ gitweb/static/js/common-lib.js | 32 ++++++++ gitweb/static/js/cookies.js | 35 +++++++++ gitweb/static/js/date.js | 160 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 300 insertions(+), 3 deletions(-) create mode 100644 gitweb/static/js/common-defs.js create mode 100644 gitweb/static/js/common-lib.js create mode 100644 gitweb/static/js/cookies.js create mode 100644 gitweb/static/js/date.js
-- 1.7.2.3