summary refs log tree commit diff stats
path: root/lib/times.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2009-01-07 17:03:25 +0100
committerAndreas Rumpf <rumpf_a@web.de>2009-01-07 17:03:25 +0100
commit439aa2d04d5528b5aed288f70895515d1da2dc3d (patch)
treecda2d0bc4d4f2bab189c4a0567cae3c1428c5ed0 /lib/times.nim
parent1c8ddca7e08af9075a930edaca6c522d5e6fd8b5 (diff)
downloadNim-439aa2d04d5528b5aed288f70895515d1da2dc3d.tar.gz
version 0.7.4
Diffstat (limited to 'lib/times.nim')
-rw-r--r--lib/times.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/times.nim b/lib/times.nim
index 774c9930c..459b6c2ad 100644
--- a/lib/times.nim
+++ b/lib/times.nim
@@ -276,8 +276,8 @@ else:
 
 proc getDateStr(): string =
   var ti = getLocalTime(getTime())
-  result = $ti.year & "-" & intToStr(ord(ti.month)+1, 2) &
-    "-" & intToStr(ti.monthDay, 2)
+  result = $ti.year & '-' & intToStr(ord(ti.month)+1, 2) &
+    '-' & intToStr(ti.monthDay, 2)
 
 proc getClockStr(): string =
   var ti = getLocalTime(getTime())