Browse Source

Add files via upload

Daniele Bonini (皮夕): WebDev, DevOps and homomm.org by lots of Simplicity bits 3 năm trước cách đây
mục cha
commit
6e366ff4d0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Private/scripts/home.php

+ 1 - 1
Private/scripts/home.php

@@ -81,7 +81,7 @@
      $date = $dated->format("l j F");
      //$date = date("l j F", mktime(0,0,0,substr($dateori,4,2),right($dateori,2),left($dateori,4))); 
      
-     if ($curLocale == "CN" || $curLocale == "JP") {
+     if (in_array($curLocale, ["CN", "JP", "KR"])) {
        $date = str_phrase_reverse($date);
      }  
      $date = getResource($date, $curLocale);