TZ asap
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user