Dennis Yekimov
Results
2
comments of
Dennis Yekimov
however, I noticed that if I put the ` Sugar.Date.getLocale("en").addFormat("the {edge} of the year {yyyy}");` code inside the function it works. shouldn't the "addFormat" add the format to the global...
found something intresting: ``` // @ts-ignore console.log("Sugar.Date.getLocale():", DateUtils.Date.getLocale().compiledFormats); ``` output for the first run: the formats that been added via ".addFormat" are at the top of the ".compiledFormats" array. but...