|
|
| version 1.68, 2004/07/28 14:38:20 | version 1.69, 2005/03/23 08:50:04 |
|---|---|
| Line 152 static void _sql_string(Request& r, Meth | Line 152 static void _sql_string(Request& r, Meth |
| VDate& vdate=GET_SELF(r, VDate); | VDate& vdate=GET_SELF(r, VDate); |
| int size=1+ 4+1+2+1+2 +1+ 2+1+2+1+2 +1 +1; | int size=1+ 4+1+2+1+2 +1+ 2+1+2+1+2 +1 +1; |
| char *buf=new(PointerFreeGC) char[size]; | char *buf=new(PointerFreeGC) char[size]; |
| time_t time=vdate.get_time(); | size=strftime(buf, size, "%Y-%m-%d %H:%M:%S", vdate.get_localtime()); |
| size=strftime(buf, size, "%Y-%m-%d %H:%M:%S", localtime(&time)); | |
| r.write_assign_lang(String(buf, size)); | r.write_assign_lang(String(buf, size)); |
| } | } |