From: Jakub Narebski Date: Thu, 28 Apr 2011 19:04:11 +0000 (+0200) Subject: gitweb: Make JavaScript ability to adjust timezones configurable X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/bb4147f079a40ce6926233cddb401eaaa55c9d0ebcd1563bc49865d0378f4ddd?ds=inline;hp=bb4147f079a40ce6926233cddb401eaaa55c9d0ebcd1563bc49865d0378f4ddd 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 Helped-by: Kevin Cernekee Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano ---