Skip to content

Commit

Permalink
Program state change displays wrong date in IE8 TRUNK-3482
Browse files Browse the repository at this point in the history
(cherry picked from commit 6d2df20)
  • Loading branch information
DraggonZ authored and rkorytkowski committed Apr 3, 2013
1 parent 2427210 commit 63d880b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -50,7 +50,7 @@
format = '<openmrs:datePattern />';
format = format.toLowerCase();
var yyyy = date.getYear() + 1900
var yyyy = date.getFullYear();
var mm = date.getMonth() + 1;
if (mm < 10)
mm = "0" + mm;
Expand Down

0 comments on commit 63d880b

Please sign in to comment.