fix %P
This commit is contained in:
parent
ee3123c08b
commit
79f6cd6ca2
@ -1809,7 +1809,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
P: function() {
|
P: function() {
|
||||||
if (this.date.getHours < 12) {
|
if (this.date.getHours() < 12) {
|
||||||
return 'am';
|
return 'am';
|
||||||
} else {
|
} else {
|
||||||
return 'pm';
|
return 'pm';
|
||||||
|
|||||||
@ -1430,7 +1430,7 @@ Time =
|
|||||||
m: -> @zeroPad @date.getMonth() + 1
|
m: -> @zeroPad @date.getMonth() + 1
|
||||||
M: -> @zeroPad @date.getMinutes()
|
M: -> @zeroPad @date.getMinutes()
|
||||||
p: -> if @date.getHours() < 12 then 'AM' else 'PM'
|
p: -> if @date.getHours() < 12 then 'AM' else 'PM'
|
||||||
P: -> if @date.getHours < 12 then 'am' else 'pm'
|
P: -> if @date.getHours() < 12 then 'am' else 'pm'
|
||||||
y: -> @date.getFullYear() - 2000
|
y: -> @date.getFullYear() - 2000
|
||||||
|
|
||||||
titlePost =
|
titlePost =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user