mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-11-23 11:12:04 +00:00
store save time in config files
This commit is contained in:
1 parent
307a8239fb
commit
dca04f7f60
1 file changed
+1
@@ -514,6 +514,7 @@ public class DataHelper {
|
||||
fos = new SecureFileOutputStream(tmpFile);
|
||||
out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(fos, "UTF-8")));
|
||||
out.println("# NOTE: This I2P config file must use UTF-8 encoding");
|
||||
out.println("# Last saved: " + new Date(System.currentTimeMillis()));
|
||||
for (Map.Entry<Object, Object> entry : props.entrySet()) {
|
||||
String name = (String) entry.getKey();
|
||||
String val = (String) entry.getValue();
|
||||
|
||||
Reference in new issue
Block a user