Modulepretty-relative-time-0.3.0.0Haskell2010
Text.Time.Pretty
Contents
Synopsis
- value prettyTimeAutoFromNow
- value prettyTimeAuto
- value prettyDayAutoFromNow
- value prettyDayAuto
- value timeAgo
- value timeAgoToDiffTime
- value daysAgo
- value daysAgoToDays
- data TimeAgo
- data DaysAgo
- value renderDaysAgoAuto
- value renderTimeAgoAuto
- value picoSecondsPerSecond
- value secondsPerMinute
- value minutesPerHour
- value hoursPerDay
- value daysPerWeek
- Packagepretty-relative-time-0.3.0.0
- Exports17
- LanguageHaskell2010
- LicenceMIT
Helper Types
Constructors
Instances5Eq, Show, Generic, Validity, Rep
Eq TimeAgoDefined in pretty-relative-time-0.3.0.0 · Text.Time.Pretty.TimeAgoShow TimeAgoDefined in pretty-relative-time-0.3.0.0 · Text.Time.Pretty.TimeAgoGeneric TimeAgoDefined in pretty-relative-time-0.3.0.0 · Text.Time.Pretty.TimeAgoValidity TimeAgoDefined in pretty-relative-time-0.3.0.0 · Text.Time.Pretty.TimeAgotype Rep TimeAgo = D1 ('MetaDataDefined in pretty-relative-time-0.3.0.0 · Text.Time.Pretty.TimeAgo"TimeAgo"
"Text.Time.Pretty.TimeAgo"
"pretty-relative-time-0.3.0.0-I3fYgfQwHkfENCgHNj7i9z"
'False) (C1 ('MetaCons"TimeAgo"
'PrefixI 'True) ((S1 ('MetaSel ('Just"timeAgoSign"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ordering) :*: (S1 ('MetaSel ('Just"timeAgoDaysAgo"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DaysAgo) :*: S1 ('MetaSel ('Just"timeAgoHours"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) :*: (S1 ('MetaSel ('Just"timeAgoMinutes"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just"timeAgoSeconds"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just"timeAgoPicoSeconds"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))))
Constructors
Instances5Eq, Show, Generic, Validity, Rep
Eq DaysAgoDefined in pretty-relative-time-0.3.0.0 · Text.Time.Pretty.TimeAgoShow DaysAgoDefined in pretty-relative-time-0.3.0.0 · Text.Time.Pretty.TimeAgoGeneric DaysAgoDefined in pretty-relative-time-0.3.0.0 · Text.Time.Pretty.TimeAgoValidity DaysAgoDefined in pretty-relative-time-0.3.0.0 · Text.Time.Pretty.TimeAgotype Rep DaysAgo = D1 ('MetaDataDefined in pretty-relative-time-0.3.0.0 · Text.Time.Pretty.TimeAgo"DaysAgo"
"Text.Time.Pretty.TimeAgo"
"pretty-relative-time-0.3.0.0-I3fYgfQwHkfENCgHNj7i9z"
'False) (C1 ('MetaCons"DaysAgo"
'PrefixI 'True) ((S1 ('MetaSel ('Just"daysAgoSign"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ordering) :*: S1 ('MetaSel ('Just"daysAgoYears"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just"daysAgoMonths"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just"daysAgoWeeks"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just"daysAgoDays"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))))