We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0efdcad commit 61aa02fCopy full SHA for 61aa02f
src/php/DateTimeParser.php
@@ -106,6 +106,7 @@ final public function getArray():array
106
$dateTimeArr['US']=$this->dateTime->format('m-d-Y');
107
$dateTimeArr['UK']=$this->dateTime->format('d/m/Y');
108
$dateTimeArr['DE']=$this->dateTime->format('d.m.Y');
109
+ $dateTimeArr['CN']=$this->dateTime->format('Y年m月d日');
110
$dateTimeArr['RFC2822']=$this->dateTime->format(\DateTimeInterface::RFC2822);
111
$dateTimeArr['day']=$this->dateTime->format('d');
112
$dateTimeArr['month']=$this->dateTime->format('m');
0 commit comments