ID: 22453 Updated by: [EMAIL PROTECTED] Reported By: bendilas at otenet dot gr -Status: Open +Status: Feedback Bug Type: Date/time related Operating System: WinXP - SP1 + Apache 2.0.43 PHP Version: 4.3.0 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-02-27 06:11:01] bendilas at otenet dot gr Setting the locale to Greek using setlocale("LC_TIME", "GR") gets me a wrong display of date. Specifically, the standard short date format in Greek is day/month/year but when I try echo strftime("%c") I get "2/27/2003" which is a month/day/year format. Also, when I try echo strftime("%A, %e %B, %Y") I get "Πέμπτη, Φεβρουάριος, 2003" which has two errors: 1. %e doesn't have any effect so the day number isn't displayed at all 2. The correct format would have been "Πέμπτη, 27 Φεβρουαρίου, 2003" which means that when there is a day number in front of a month, the month is displayed in genitive form (grammatically speaking). The months in Greek are: Ιανουάριος Φεβρουάριος Μάρτιος Απρίλιος Μάιος Ιούνιος Ιούλιος Αύγουστος Σεπτέμβριος Οκτώβριος Νοέμβριος Δεκέμβριος Their genitive form (which should be used ONLY when formatting parameters "%e %B" are used side by side in that speficic order) is: Ιανουαρίου Φεβρουαρίου Μαρτίου Απριλίου Μαΐου Ιουνίου Ιουλίου Αυγούστου Σεπτεμβρίου Οκτωβρίου Νοεμβρίου Δεκεμβρίου Note: Windows XP in Control Panel> Regional and Language options displays the correct format under "Long date" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22453&edit=1