diff --git a/js/date.js b/js/date.js index 1edd1e41..26ba8be9 100644 --- a/js/date.js +++ b/js/date.js @@ -23,7 +23,7 @@ var date = (function() { var _date = function() { var date = helper.e(".date"); var time = _makeTimeObject(); - time.day = helper.day(time.day - 1); + time.day = helper.day(time.day); time.month = helper.month(time.month); if (state.get().header.date.characterLength == "short") { time.day = time.day.substring(0, 3); diff --git a/js/helper.js b/js/helper.js index 52cb8627..3d28e852 100644 --- a/js/helper.js +++ b/js/helper.js @@ -44,7 +44,7 @@ var helper = (function() { }; var day = function(index) { - var all = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]; + var all = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]; return all[index]; };