From: Andrey C. <an...@ch...> - 2003-03-10 12:38:30
|
> > if (defined("CHARSET")) define("CHARSET", "iso-8859-1"); > Okay, done. Thank you! There is my mistake - "defined" instead of "!defined". Next issue. I'm using PhpWiki under Windows 2000 more than year, and in each PhpWiki version I'm forced to change the default 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. |