Skip to content Skip to sidebar Skip to footer
Showing posts with the label Locale

Difference In Performance Between Calling .localecompare On String Objects And Constructing A Purpose-made Intl.collator Object?

Background: So I need to sort lots of strings. Arrays of strings, actually, but that's besides… Read more Difference In Performance Between Calling .localecompare On String Objects And Constructing A Purpose-made Intl.collator Object?

Include User Locale To The Keycloak Id Token

I would like Keycloak (1.4.0) to include the users' chosen locale to the ID token. I have come … Read more Include User Locale To The Keycloak Id Token

Where Can In Find The Locale Objects For D3.js For Different Countries

this url (https://github.com/mbostock/d3/wiki/Localization) shows two examples for locales en_US: … Read more Where Can In Find The Locale Objects For D3.js For Different Countries

Time Zone Issue Involving Date Fns Format()

const dt = new Date('2017-12-12'); console.log(format(dt, 'YYYY-MM-DD')); The abov… Read more Time Zone Issue Involving Date Fns Format()

Time Zone Issue Involving Date Fns Format()

const dt = new Date('2017-12-12'); console.log(format(dt, 'YYYY-MM-DD')); The abov… Read more Time Zone Issue Involving Date Fns Format()