Skip to content

skeleton: "Bhm" is not supported #936

Open
@LilyLi2019

Description

@LilyLi2019

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions