Skip to content

Commit

Permalink
fix: different time format for multi day events when using moment (jq…
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored and jquense committed Jul 25, 2018
1 parent a440b82 commit 630b630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/localizers/moment.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ let timeRangeFormat = ({ start, end }, culture, local) =>
local.format(start, 'LT', culture) + ' — ' + local.format(end, 'LT', culture)

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

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

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

0 comments on commit 630b630

Please sign in to comment.