Add japanese formats (#841)
This commit is contained in:
parent
1c99f4999c
commit
a54ed63a6f
|
@ -308,6 +308,22 @@ class NumberFormat extends Supervisor
|
|||
self::$builtInFormats[69] = 't# ?/?';
|
||||
self::$builtInFormats[70] = 't# ??/??';
|
||||
|
||||
// JPN
|
||||
self::$builtInFormats[28] = '[$-411]ggge"年"m"月"d"日"';
|
||||
self::$builtInFormats[29] = '[$-411]ggge"年"m"月"d"日"';
|
||||
self::$builtInFormats[31] = 'yyyy"年"m"月"d"日"';
|
||||
self::$builtInFormats[32] = 'h"時"mm"分"';
|
||||
self::$builtInFormats[33] = 'h"時"mm"分"ss"秒"';
|
||||
self::$builtInFormats[34] = 'yyyy"年"m"月"';
|
||||
self::$builtInFormats[35] = 'm"月"d"日"';
|
||||
self::$builtInFormats[51] = '[$-411]ggge"年"m"月"d"日"';
|
||||
self::$builtInFormats[52] = 'yyyy"年"m"月"';
|
||||
self::$builtInFormats[53] = 'm"月"d"日"';
|
||||
self::$builtInFormats[54] = '[$-411]ggge"年"m"月"d"日"';
|
||||
self::$builtInFormats[55] = 'yyyy"年"m"月"';
|
||||
self::$builtInFormats[56] = 'm"月"d"日"';
|
||||
self::$builtInFormats[58] = '[$-411]ggge"年"m"月"d"日"';
|
||||
|
||||
// Flip array (for faster lookups)
|
||||
self::$flippedBuiltInFormats = array_flip(self::$builtInFormats);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue