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