time-locale-vietnamese-1.0.0.0: Vietnamese locale for date and time format

Safe HaskellSafe
LanguageHaskell2010

Data.Time.Locale.Vietnamese

Description

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.

Synopsis

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'.