Message102335
Definitely a Windows problem. I did this on Visual Studio 2008:
wchar_t out[1000];
time_t currentTime;
time(¤tTime);
tm *timeStruct = gmtime(¤tTime);
size_t ret = wcsftime(out, 1000, L"%d%A", timeStruct);
wprintf(L"ret = %d, out = (%s)\n", ret, out);
ret = wcsftime(out, 1000, L"%d\u200f%A", timeStruct);
wprintf(L"ret = %d, out = (%s)\n", ret, out);
and the output was
ret = 8, out = (04Sunday)
ret = 0, out = ()
Python really shouldn't use any so-called standard functions on Windows. They never work as expected ^^... |
|
Date |
User |
Action |
Args |
2010-04-04 12:07:23 | AndiDog_old | set | recipients:
+ AndiDog_old, eric.smith, ezio.melotti, brian.curtin |
2010-04-04 12:07:23 | AndiDog_old | set | messageid: <1270382843.11.0.909421678966.issue8304@psf.upfronthosting.co.za> |
2010-04-04 12:07:22 | AndiDog_old | link | issue8304 messages |
2010-04-04 12:07:21 | AndiDog_old | create | |
|