Chris Stryczynski

Software Developer / Consultant

What is a time locale in Haskell?

Posted on: 15/07/2018

For example the function formatTime :: FormatTime t => TimeLocale -> String -> t -> String from 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:


No comments, yet!

Submit a comment