From: Andrey C. <an...@ch...> - 2003-11-12 08:49:28
|
> Would you send me the date/time format string you hopefully > figured out > for your own windows server? :) I will try to somehow, automatically > integrate it into PhpWiki. I'm using this format on the Windows server: $Theme->setDateFormat("%d.%m.%Y"); $Theme->setTimeFormat("%H:%M:%S"); > > date/time format, because defaults > > $Theme->setDateFormat("%A, %B %e, %Y"); > > $Theme->setTimeFormat("%l:%M:%S %p"); > > not working under Windows: > > %e not prints day of month, and %l prints nothing (%l is not > > documented in PHP at all). So, date/time show like this: > > Last edited on Friday, March , 2003 :38:13 pm. > > (PHP4.3.1/Windows2000/English) > > See notes in http://www.php.net/manual/ru/function.strftime.php : > > Not all conversion specifiers may be supported by your C > library, in > > which > > case they will not be supported by PHP's strftime(). This > means that > > e.g. > > %e, %T, %R and %D (there might be more) will not work on Windows. |