From e0bfdff1520304330c7ffc7e6bbb460bb8dd4793 Mon Sep 17 00:00:00 2001
From: jrandom <jrandom>
Date: Thu, 25 Aug 2005 21:08:13 +0000
Subject: [PATCH] TZ asap

---
 apps/syndie/java/src/net/i2p/syndie/Archive.java     | 4 ----
 apps/syndie/java/src/net/i2p/syndie/BlogManager.java | 1 +
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/apps/syndie/java/src/net/i2p/syndie/Archive.java b/apps/syndie/java/src/net/i2p/syndie/Archive.java
index 77fbdcbe28..049ef13a4d 100644
--- a/apps/syndie/java/src/net/i2p/syndie/Archive.java
+++ b/apps/syndie/java/src/net/i2p/syndie/Archive.java
@@ -40,10 +40,6 @@ public class Archive {
         public boolean accept(File dir, String name) { return name.endsWith(".snd"); }
     };    
     
-    static {
-        TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
-    }
-
     public Archive(I2PAppContext ctx, String rootDir, String cacheDir) {
         _context = ctx;
         _rootDir = new File(rootDir);
diff --git a/apps/syndie/java/src/net/i2p/syndie/BlogManager.java b/apps/syndie/java/src/net/i2p/syndie/BlogManager.java
index 722b4f4f96..9bd4693bb0 100644
--- a/apps/syndie/java/src/net/i2p/syndie/BlogManager.java
+++ b/apps/syndie/java/src/net/i2p/syndie/BlogManager.java
@@ -23,6 +23,7 @@ public class BlogManager {
     private Archive _archive;
     
     static {
+        TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
         String rootDir = I2PAppContext.getGlobalContext().getProperty("syndie.rootDir");
         if (rootDir == null)
             rootDir = System.getProperty("user.home");
-- 
GitLab