Edit report at https://bugs.php.net/bug.php?id=63758&edit=1
ID: 63758 Updated by: ahar...@php.net Reported by: giso at connectholland dot nl Summary: strftime for %x returns wrong format in Dutch -Status: Open +Status: Not a bug Type: Feature/Change Request -Package: I18N and L10N related +Package: Date/time related Operating System: Linux / Debian PHP Version: Irrelevant Block user comment: N Private report: N New Comment: strftime() uses the system's locale information â PHP itself doesn't handle the localisation in this case. I'd suggest reporting a bug on the Debian bug tracker against the relevant package (locales, I think, but you might want to check). Previous Comments: ------------------------------------------------------------------------ [2012-12-13 10:24:16] giso at connectholland dot nl Description: ------------ The format outputted in Dutch for %x is "dd-mm-yy" while it should be "dd-mm- yyyy" I'm from the Netherlands and can assure you nobody writes or uses dates like "dd- mm-yy" Test script: --------------- setlocale(LC_TIME, "nl_NL"); echo strftime("%x"); Expected result: ---------------- 13-12-2012 Actual result: -------------- 13-12-12 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63758&edit=1