fix: occurence exception end times not shown correctly

This commit is contained in:
Gregor Kleen 2019-10-15 12:20:00 +02:00
parent 0f53350392
commit 725468bfd3

View File

@ -21,7 +21,7 @@ occurrencesWidget (normalizeOccurrences -> Occurrences{..}) = do
occurrencesExceptions' = flip map (Set.toList occurrencesExceptions) $ \case
ExceptOccur{..} -> do
exceptStart' <- formatTime SelFormatDateTime (LocalTime exceptDay exceptStart)
exceptEnd' <- formatTime SelFormatTime exceptStart
exceptEnd' <- formatTime SelFormatTime exceptEnd
$(widgetFile "widgets/occurrence/cell/except-occur")
ExceptNoOccur{..} -> do
exceptTime' <- formatTime SelFormatDateTime exceptTime