diff options
Diffstat (limited to 'loslib.c')
-rw-r--r-- | loslib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: loslib.c,v 1.48 2014/10/08 19:57:31 roberto Exp roberto $ | 2 | ** $Id: loslib.c,v 1.49 2014/10/17 16:28:21 roberto Exp roberto $ |
3 | ** Standard Operating System library | 3 | ** Standard Operating System library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -227,7 +227,7 @@ static int os_date (lua_State *L) { | |||
227 | struct tm tmr, *stm; | 227 | struct tm tmr, *stm; |
228 | if (*s == '!') { /* UTC? */ | 228 | if (*s == '!') { /* UTC? */ |
229 | stm = l_gmtime(&t, &tmr); | 229 | stm = l_gmtime(&t, &tmr); |
230 | s++; /* skip `!' */ | 230 | s++; /* skip '!' */ |
231 | } | 231 | } |
232 | else | 232 | else |
233 | stm = l_localtime(&t, &tmr); | 233 | stm = l_localtime(&t, &tmr); |