Skip to content

Commit 8fde84d

Browse files
committed
Merge pull request locutusjs#33 from dickolsson/patch-1
Fixed bug in the "c" format (ISO-8601).
2 parents 053c242 + b830651 commit 8fde84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/datetime/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ function date (format, timestamp) {
243243

244244
// Full Date/Time
245245
c: function () { // ISO-8601 date.
246-
return 'Y-m-d\\Th:i:sP'.replace(formatChr, formatChrCb);
246+
return 'Y-m-d\\TH:i:sP'.replace(formatChr, formatChrCb);
247247
},
248248
r: function () { // RFC 2822
249249
return 'D, d M Y H:i:s O'.replace(formatChr, formatChrCb);

0 commit comments

Comments
 (0)