Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

angular-i18n has wrong dateformat in Thai. #10503

Closed
@sixteenevils

Description

@sixteenevils

The fulldate format in angular-locale_th-th.js and angular-locale_th.js are wrong.
Current value is "fullDate": "EEEE\u0e17\u0e35\u0e48 d MMMM G y",

Example :

{{landingViewModel.bookingInfo.checkIn | date : 'fullDate'}}

It will generate a date like this "วันพุธที่ 17 ธันวาคม G 2014",
which the G letter should be "พ.ศ." if year is 2557 Buddhist Era (BE)
and for A.D. 2014 it should be "ค.ศ."
or you can remove the G letter it will correct as well.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions