Posted on: 15/07/2018
For example the function formatTime :: FormatTime t => TimeLocale -> String -> t -> String
from http://hackage.haskell.org/package/thyme-0.3.5.5/docs/Data-Thyme-Format.html has a Timelocale
paremeter.
However what exactly is it? I assumed it’s the format of the date - YYYY-MM-DD
or DD/MM/YY
etc, however this seems to be the handled by the String
parameter with a string like %d/%m/%Y %H:%M
.
The value is defined here: https://hackage.haskell.org/package/time-1.9.1/docs/Data-Time-Format.html#t:TimeLocale
Comments
No comments, yet!
Submit a comment