globalizejs / globalizejs/globalize

skeleton: "Bhm" is not supported

Open
#936 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.8k
Forks
585
PR merge metrics
No merged PRs in 30d

Description

I used skeleton: "Bhm" to format a date.
It throwed following exception:
code: 'E_INVALID_OPTIONS',
invalidField: 'B',
type: 'skeleton',
value: 'Bhm'

My code:
```
var format2 = Globalize("zh-Hans").dateFormatter({ skeleton: "Bhm"})(new Date());
console.log(format2);
```
Could you please support 'B' in skeleton?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.