]> Lady’s Gitweb - Gitweb/commit
gitweb: Make JavaScript ability to adjust timezones configurable
authorJakub Narebski <redacted>
Thu, 28 Apr 2011 19:04:11 +0000 (21:04 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:31 +0000 (00:51 -0400)
commitbb4147f079a40ce6926233cddb401eaaa55c9d0ebcd1563bc49865d0378f4ddd
tree2b468f5c2f12af58fc5ceaabe1aa500878595ee3832ca40db5217fec273ad37f
parentd0b6c8bc746e60c6639103263dd8f5202a24caafb34ec02f92e61cdd4a1323d6
gitweb: Make JavaScript ability to adjust timezones configurable

Configure JavaScript-based ability to select common timezone for git
dates via %feature mechanism, namely 'javascript-timezone' feature.

The following settings are configurable:
* default timezone (defaults to 'local' i.e. browser timezone);
  this also can function as a way to disable this ability,
  by setting it to false-ish value (undef or '')
* name of cookie to store user's choice of timezone
* class name to mark dates

NOTE: This is a bit of abuse of %feature system, which can store only
sequence of values, rather than dictionary (hash); usually but not
always only a single value is used.

Based-on-code-by: John 'Warthog9' Hawley <redacted>
Helped-by: Kevin Cernekee <redacted>
Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.26612 seconds and 5 git commands to generate.