Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Rosenberg2011-10-09 12:47:19 +0000
committerRobin Rosenberg2011-10-20 21:49:51 +0000
commit06b183f9b7f902d3e81bea9aa909a044f76d79fb (patch)
treedd94a973ab6ecf87fcfc834881ae48e8adac626f /org.eclipse.jgit.pgm
parentfb68c7a4cddc9e207f3f191d4bb73e809790cffd (diff)
downloadjgit-06b183f9b7f902d3e81bea9aa909a044f76d79fb.tar.gz
jgit-06b183f9b7f902d3e81bea9aa909a044f76d79fb.tar.xz
jgit-06b183f9b7f902d3e81bea9aa909a044f76d79fb.zip
Add a method to SystemReader to get the time zone
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r--org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Log.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Log.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Log.java
index 4a92ea624f..6cc0093805 100644
--- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Log.java
+++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Log.java
@@ -73,11 +73,12 @@ import org.eclipse.jgit.lib.Ref;
import org.eclipse.jgit.notes.NoteMap;
import org.eclipse.jgit.revwalk.RevCommit;
import org.eclipse.jgit.revwalk.RevTree;
+import org.eclipse.jgit.util.SystemReader;
import org.kohsuke.args4j.Option;
@Command(common = true, usage = "usage_viewCommitHistory")
class Log extends RevWalkTextBuiltin {
- private final TimeZone myTZ = TimeZone.getDefault();
+ private final TimeZone myTZ = SystemReader.getInstance().getTimeZone();
private final DateFormat fmt;

Back to the top