update components
This commit is contained in:
parent
e0dd826c9b
commit
92bca2bd40
4 changed files with 8 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue