Fixed short month names
authorAlexander Ebert <ebert@woltlab.com>
Fri, 8 Nov 2013 14:57:43 +0000 (15:57 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 8 Nov 2013 14:57:43 +0000 (15:57 +0100)
wcfsetup/install/files/lib/util/DateUtil.class.php

index 5b1ef65e2b561bd4e5a3e64e903d8aa13b754dee..5b7ef116206b53a1687f603d4d04c95623e0b15e 100644 (file)
@@ -288,18 +288,18 @@ final class DateUtil {
                        // short textual representation of a month (M)
                        if (stripos($format, 'M') !== false) {
                                $date = str_replace(array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'), array(
-                                       $language->get('wcf.date.month.jan'),
-                                       $language->get('wcf.date.month.feb'),
-                                       $language->get('wcf.date.month.mar'),
-                                       $language->get('wcf.date.month.apr'),
-                                       $language->get('wcf.date.month.may'),
-                                       $language->get('wcf.date.month.jun'),
-                                       $language->get('wcf.date.month.jul'),
-                                       $language->get('wcf.date.month.aug'),
-                                       $language->get('wcf.date.month.sep'),
-                                       $language->get('wcf.date.month.oct'),
-                                       $language->get('wcf.date.month.nov'),
-                                       $language->get('wcf.date.month.dec')
+                                       $language->get('wcf.date.month.short.jan'),
+                                       $language->get('wcf.date.month.short.feb'),
+                                       $language->get('wcf.date.month.short.mar'),
+                                       $language->get('wcf.date.month.short.apr'),
+                                       $language->get('wcf.date.month.short.may'),
+                                       $language->get('wcf.date.month.short.jun'),
+                                       $language->get('wcf.date.month.short.jul'),
+                                       $language->get('wcf.date.month.short.aug'),
+                                       $language->get('wcf.date.month.short.sep'),
+                                       $language->get('wcf.date.month.short.oct'),
+                                       $language->get('wcf.date.month.short.nov'),
+                                       $language->get('wcf.date.month.short.dec')
                                ), $date);
                        }
                }