Skip to content

Commit 12a2449

Browse files
committed
DateTime Format reduced to seconds
1 parent f7b3bb2 commit 12a2449

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/appendJsonSeralizeCode.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
else if ($classDetails->className === 'DateTime'){
1919
// echo($value->format('Y-m-d H:i:s')."\n");
20-
$dateTime = $value->format('Y-m-d\TH-i-s.\0\0\0\Z');
20+
$dateTime = $value->format('Y-m-d\TH-i-s\Z');
2121
$values[$key] = $dateTime;
2222
//echo($dateTime."\n");
2323
}

0 commit comments

Comments
 (0)