felixge / felixge/node-dateformat
Localization for the day suffix
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 1.3k
- Fork
- 155
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
It seems like suffixes with `S` flag are hardcoded.
` S: ['th', 'st', 'nd', 'rd'][d % 10 > 3 ? 0 : (d % 100 - d % 10 != 10) * d % 10],`
Is it possible to move them to DateFormatI18n object?
Is there another way to localize such suffixes?
Thanks.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.