Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Locale representing Vietnamese usage. For use with Data.Time.Format.
Besides a locale similar to other implementation, this module also provides an alternate locale perfered by native speakers.
Some common date time expressions are also included.
Documentation
vietnameseTimeLocale :: TimeLocale Source #
Locale representing Vietnames usage.
Similar to how it is commonly implemented in other libraries and languages.
References:
vietnameseNativeTimeLocale :: TimeLocale Source #
Locale representing Vietnames usage.
Native speaker perference.
References:
documentDateFormat :: String Source #
Date format used in formal documents, example: 'Ngày 20 tháng 11 năm 2017'.
longDateFormat :: String Source #
Full date format, example: 'Thứ sáu, ngày 20 tháng 11 năm 2017'.
shortDateFormat :: String Source #
Short date format, example: '20/11/2017'.
shortDateFormatAlt :: String Source #
Alternative short date format, example: '20-11-2017'.
fullHourFormat :: String Source #
Common time format, example: '2 giờ 30 phút chiều'.
hourFormat :: String Source #
Common time format, example: '2 giờ chiều'.