I’ve been learning Haskell for a while, today I release my very first Haskell package: time-locale-vietnamese. Just a simple
TimeLocale to support formatting time in Vietnamese. Here is a quick example:
import Data.Time import Data.Time.Locale.Vietnamese main = do now <- getCurrentTime print $ formatTime vietnameseTimeLocale "%A, %d %B %Y" now
sdist; I could not find any document about how to do it with Stack. At last it is just
stack upload but the document could be clearer.
The package only have
vietnameseTimeLocale for now, but I plan to add common time format phrases late. Hope this is useful.