mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 06:32:32 +00:00
TZ asap
This commit is contained in:
1 parent
c27aed3603
commit
e0bfdff152
2 files changed
+1
-4
No files matched your search
@@ -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