diff --git a/lib/Translator.php b/lib/Translator.php index 5674cb9..77c35ed 100644 --- a/lib/Translator.php +++ b/lib/Translator.php @@ -72,6 +72,11 @@ namespace Translator { function datetime($format, $timestamp) { + if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') { + $format = preg_replace('#(?