summaryrefslogtreecommitdiff
path: root/lib/Postdelay/TimeSpec.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Postdelay/TimeSpec.hs')
-rw-r--r--lib/Postdelay/TimeSpec.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Postdelay/TimeSpec.hs b/lib/Postdelay/TimeSpec.hs
index 951b1c0..f61d84e 100644
--- a/lib/Postdelay/TimeSpec.hs
+++ b/lib/Postdelay/TimeSpec.hs
@@ -124,7 +124,7 @@ dateSpec = label "Date" $ (>> scribe (prio' Default . time) midnight) <$> choice
124 scribe (prio' Assign . date.days) 1 124 scribe (prio' Assign . date.days) 1
125 ] 125 ]
126 , try $ do 126 , try $ do
127 let daySuffix = optional $ choice [ string' "st", string' "nd", string' "rd", string' "th" ] 127 let daySuffix = optional $ choice [ string ".", string' "st", string' "nd", string' "rd", string' "th" ]
128 (m, d) <- choice [ try $ (,) <$> monthName <* spaces <*> dayNumber False <* daySuffix 128 (m, d) <- choice [ try $ (,) <$> monthName <* spaces <*> dayNumber False <* daySuffix
129 , try $ flip (,) <$> dayNumber False <* daySuffix <* spaces <*> monthName 129 , try $ flip (,) <$> dayNumber False <* daySuffix <* spaces <*> monthName
130 ] 130 ]