Skip to content

Commit 630b630

Browse files
eps1lonjquense
authored andcommitted
fix: different time format for multi day events when using moment (jquense#919)
1 parent a440b82 commit 630b630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/localizers/moment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ let timeRangeFormat = ({ start, end }, culture, local) =>
99
local.format(start, 'LT', culture) + ' — ' + local.format(end, 'LT', culture)
1010

1111
let timeRangeStartFormat = ({ start, end }, culture, local) =>
12-
local.format(start, 'h:mma', culture) + ' — '
12+
local.format(start, 'LT', culture) + ' — '
1313

1414
let timeRangeEndFormat = ({ start, end }, culture, local) =>
15-
' — ' + local.format(end, 'h:mma', culture)
15+
' — ' + local.format(end, 'LT', culture)
1616

1717
let weekRangeFormat = ({ start, end }, culture, local) =>
1818
local.format(start, 'MMMM DD', culture) +

0 commit comments

Comments
 (0)