update components

This commit is contained in:
Luke Pulverenti 2016-05-06 10:11:15 -04:00
parent e0dd826c9b
commit 92bca2bd40
4 changed files with 8 additions and 7 deletions

View file

@ -134,6 +134,7 @@
if (timeLower.indexOf('am') != -1 || timeLower.indexOf('pm') != -1) {
time = timeLower;
var hour = date.getHours() % 12;
var suffix = date.getHours() > 11 ? 'pm' : 'am';
if (!hour) {