Skip to content

Commit 61aa02f

Browse files
committed
CN added to Date array
1 parent 0efdcad commit 61aa02f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/php/DateTimeParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ final public function getArray():array
106106
$dateTimeArr['US']=$this->dateTime->format('m-d-Y');
107107
$dateTimeArr['UK']=$this->dateTime->format('d/m/Y');
108108
$dateTimeArr['DE']=$this->dateTime->format('d.m.Y');
109+
$dateTimeArr['CN']=$this->dateTime->format('Y年m月d日');
109110
$dateTimeArr['RFC2822']=$this->dateTime->format(\DateTimeInterface::RFC2822);
110111
$dateTimeArr['day']=$this->dateTime->format('d');
111112
$dateTimeArr['month']=$this->dateTime->format('m');

0 commit comments

Comments
 (0)