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