Showing
1 changed file
with
1 additions
and
1 deletions
@@ -8,7 +8,7 @@ const helpers = global.yoho.helpers; | @@ -8,7 +8,7 @@ const helpers = global.yoho.helpers; | ||
8 | 8 | ||
9 | const _formatTime = (timestamp, b) => { | 9 | const _formatTime = (timestamp, b) => { |
10 | let date = b ? 'M.D ' : 'M月D日'; | 10 | let date = b ? 'M.D ' : 'M月D日'; |
11 | - let time = 'hh:mm'; | 11 | + let time = 'HH:mm'; |
12 | let startTime = moment(timestamp); | 12 | let startTime = moment(timestamp); |
13 | let now = moment(); | 13 | let now = moment(); |
14 | let diff = moment.duration(startTime.clone().startOf('day') - now.startOf('day')).days(); | 14 | let diff = moment.duration(startTime.clone().startOf('day') - now.startOf('day')).days(); |
-
Please register or login to post a comment