Permalink
Browse files

Small fix

  • Loading branch information...
1 parent d18d5ac commit 5dacc8dc2314e7ccf717dad7777c8a9c60a55f2e @eivindfjeldstad committed May 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -299,7 +299,7 @@ function toDate (obj) {
abbr = abbr.toLowerCase();
if (abbr == 'pm' && obj.h < 12)
- obj.H == obj.h + 12;
+ obj.H = obj.h + 12;
}
// Handle years

0 comments on commit 5dacc8d

Please sign in to comment.