Module

Data.Moment.Simple.Relative

Package
purescript-simple-moment
Repository
passy/purescript-simple-moment

Relative date formatting, see http://momentjs.com/docs/#/displaying/fromnow/

#fromNow Source

fromNow :: Moment -> Effect String

Display the time as relative time with an "ago" suffix.

#fromNow' Source

fromNow' :: Moment -> Effect String

Display the time as relative time without an "ago" suffix.