From 06b183f9b7f902d3e81bea9aa909a044f76d79fb Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Sun, 9 Oct 2011 14:47:19 +0200 Subject: Add a method to SystemReader to get the time zone Change-Id: Ifd31f408ed2c5b7869694b715fea3219e74963ef --- org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Log.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'org.eclipse.jgit.pgm') 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; -- cgit v1.2.3