This commit is contained in:
James Campos 2011-06-20 12:41:18 -07:00
parent ee3123c08b
commit 79f6cd6ca2
2 changed files with 2 additions and 2 deletions

View File

@ -1809,7 +1809,7 @@
}
},
P: function() {
if (this.date.getHours < 12) {
if (this.date.getHours() < 12) {
return 'am';
} else {
return 'pm';

View File

@ -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 =