git-commit-vandalism/lib
Shawn O. Pearce 66c75a5c9f git-gui: Localize commit/author dates when displaying them
Currently the Git plumbing is not localized so it does not know how
to output weekday and month names that conform to the user's locale
preferences.  This doesn't fit with the rest of git-gui's UI as some
of our dates are formatted in Tcl and some are just read from the Git
plumbing so dates aren't consistently presented.

Since git-for-each-ref is presenting us formatted dates and it offers
no way to change that setting even in git 1.5.3.1 we need to first do
a parse of the text strings it produces, correct for timezones, then
reformat the timestamp using Tcl's formatting routines.

Not exactly what I wanted to do but it gets us consistently presented
date strings in areas like the blame viewer and the revision picker
mega-widget's tooltips.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2007-09-10 01:54:16 -04:00
..
blame.tcl git-gui: Localize commit/author dates when displaying them 2007-09-10 01:54:16 -04:00
branch_checkout.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
branch_create.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
branch_delete.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
branch_rename.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
branch.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
browser.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
checkout_op.tcl Merge branch 'maint' 2007-09-03 23:07:59 -04:00
choose_rev.tcl git-gui: Localize commit/author dates when displaying them 2007-09-10 01:54:16 -04:00
class.tcl git-gui: Fix window manager problems on ion3 2007-08-20 00:38:13 -04:00
commit.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
console.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
database.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
date.tcl git-gui: Localize commit/author dates when displaying them 2007-09-10 01:54:16 -04:00
diff.tcl Merge branch 'maint' 2007-09-09 21:02:57 -04:00
encoding.tcl git-gui: Translate standard encoding names to Tcl ones 2007-07-19 01:27:17 -04:00
error.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
index.tcl Merge branch 'maint' 2007-09-09 05:04:43 -04:00
merge.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
option.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
remote_branch_delete.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
remote.tcl git-gui: remove dots in some UI strings 2007-09-03 00:45:25 -04:00
shortcut.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
status_bar.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00
transport.tcl Mark strings for translation. 2007-09-02 16:54:48 +01:00