Skip to content

Commit

Permalink
fix #32
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelneu committed Mar 14, 2019
1 parent 52dc931 commit b341f1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/client/src/modules/Utils.js
Expand Up @@ -16,9 +16,9 @@ angular.module('reg')

date = new Date(time);
// Hack for timezone
return moment(date).format('dddd, MMMM Do YYYY, h:mm a') +
return moment(date).format('dddd, MMMM Do YYYY, HH:mm') +
" " + date.toTimeString().split(' ')[2];

}
};
}]);
}]);
4 changes: 2 additions & 2 deletions app/client/views/admin/settings/adminSettingsCtrl.js
Expand Up @@ -61,7 +61,7 @@ angular.module('reg')
}

// Hack for timezone
return moment(date).format('dddd, MMMM Do YYYY, h:mm a') +
return moment(date).format('dddd, MMMM Do YYYY, h:mm') +
" " + date.toTimeString().split(' ')[2];
};

Expand Down Expand Up @@ -148,4 +148,4 @@ angular.module('reg')
});
};

}]);
}]);

0 comments on commit b341f1c

Please sign in to comment.