I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit e0bfdff1 authored by jrandom's avatar jrandom Committed by zzz
Browse files

TZ asap

parent c27aed36
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment