changeset 346:ce9e2e77743f

- Fix: include one space when slicing time_str for __DATE__.
author aziz
date Thu, 23 Aug 2007 15:49:02 +0000
parents 10719a796554
children 73f81f21f870
files trunk/src/dil/Lexer.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/trunk/src/dil/Lexer.d	Thu Aug 23 15:27:04 2007 +0000
+++ b/trunk/src/dil/Lexer.d	Thu Aug 23 15:49:02 2007 +0000
@@ -143,7 +143,7 @@
       switch (t.type)
       {
       case TOK.DATE:
-        time_str = time_str[4..10] ~ time_str[20..24] ~ \0; break;
+        time_str = time_str[4..11] ~ time_str[20..24] ~ \0; break;
       case TOK.TIME:
         time_str = time_str[11..19] ~ \0; break;
       case TOK.TIMESTAMP: