Open LilyLi2019 opened 1 year ago
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?
Hi @LilyLi2019, that's correct, the B pattern needs to be implemente. PR is welcome. Thanks
B
I used skeleton: "Bhm" to format a date. It throwed following exception: code: 'E_INVALID_OPTIONS', invalidField: 'B', type: 'skeleton', value: 'Bhm'
My code:
Could you please support 'B' in skeleton?