Skip to content

Commit

Permalink
fixup! [#79] Add support for hyphenated intervals.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastro committed Mar 31, 2023
1 parent 5488dda commit e3cc9f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ run:
$(MAKEU) PACKAGE=tzbot-exe run

stylish:
find . -name '.stack-work' -prune -o -name '.dist-newstyle' -prune -o -name '*.hs' -exec stylish-haskell -i '{}' \;
find . -name '.stack-work' -prune -o -name 'dist-newstyle' -prune -o -name '*.hs' -exec stylish-haskell -i '{}' \;

lint:
hlint .
Expand Down
2 changes: 1 addition & 1 deletion src/TzBot/Render.hs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ import Text.Interpolation.Nyan (int, rmode')
import TzBot.Instances ()
import TzBot.Slack.API (Mrkdwn(Mrkdwn), User(..))
import TzBot.Slack.API.Block
import TzBot.TZ (TimeShift(..), checkForTimeshifts, findLastTimeshift)
import TzBot.TimeReference
import TzBot.TZ (TimeShift(..), checkForTimeshifts, findLastTimeshift)
import TzBot.Util

-- Types
Expand Down
2 changes: 1 addition & 1 deletion test/Test/TzBot/GetTimeshiftsSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import Test.Tasty.HUnit (Assertion, assertFailure, testCase, (@?=))
import Text.Interpolation.Nyan

import TzBot.Parser (parseTimeRefs)
import TzBot.TZ (TimeShift(..), checkForTimeshifts, checkForTimeshifts')
import TzBot.TimeReference (TimeReferenceToUTCResult(..), timeReferenceToUTC)
import TzBot.TZ (TimeShift(..), checkForTimeshifts, checkForTimeshifts')
import TzBot.Util

springHavana2022utc, autumnHavana2022utc, springHavana2023utc :: UTCTime
Expand Down

0 comments on commit e3cc9f3

Please sign in to comment.