Author: toad
Date: 2008-03-28 22:19:36 +0000 (Fri, 28 Mar 2008)
New Revision: 18816

Modified:
   trunk/freenet/src/freenet/node/LocationManager.java
Log:
Log date AND time

Modified: trunk/freenet/src/freenet/node/LocationManager.java
===================================================================
--- trunk/freenet/src/freenet/node/LocationManager.java 2008-03-28 22:08:48 UTC 
(rev 18815)
+++ trunk/freenet/src/freenet/node/LocationManager.java 2008-03-28 22:19:36 UTC 
(rev 18816)
@@ -594,7 +594,7 @@
                                FileWriter fw = null;
                                try {
                                        fw = new FileWriter(locationLog, true);
-                                       
fw.write(""+DateFormat.getDateInstance().format(new Date())+" : 
"+getLocation()+'\n');
+                                       
fw.write(""+DateFormat.getDateTimeInstance().format(new Date())+" : 
"+getLocation()+'\n');
                                        fw.close();
                                } catch (IOException e) {
                                        Logger.error(this, "Unable to write 
changed location to "+locationLog+" : "+e, e);


Reply via email to