follow-0.1.0.0: Haskell library to follow content published on any subject.

Safe HaskellSafe
LanguageHaskell2010

Data.Time.Follow

Description

This module exposes functions related with date and time which are used in other parts of the library.

Synopsis

Documentation

parseTimeGuess :: ParseTime t => Text -> Maybe t Source #

Parses a date guessing from a list of accepted formats. Right now these are: - iso8601: 2018-01-01 - iso8601 with time: 2018-01-01T12:35 - iso8601 with time and timezone: 2018-01-01T12:35+0100 - iso8601 with fractions of seconds: 2018-01-01T12:35.001000 - iso8601 with fractions of seconds and timezone: 2018-01-01T12:35.001000+0100 - rfc822: Mon, 01 Jan 2018 12:35:00 +0100 - epoch: 1514810100