hledger-iadd-1.1.1: A terminal UI as drop-in replacement for hledger add

Safe HaskellNone
LanguageHaskell2010

DateParser

Contents

Synopsis

Documentation

german :: DateFormat Source #

Corresponds to %d[.[%m[.[%y]]]]

parseDateWithToday :: DateFormat -> Text -> IO (Either Text Day) Source #

Parse text with given format and fill in missing fields with todays date.

Utilities

weekDay :: Int -> Day -> Day Source #

Computes a relative date by the given weekday

Returns the first weekday with index wday, that's before the current date.