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

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

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?

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()

Internet Explorer Returning Wrong Length Of String

I've ran into a possible bug with IE where calling the JavaScript .length function returns a va… Read more Internet Explorer Returning Wrong Length Of String

How To Overload Comparator To Sort With Utf-8 And Different Locales

I have a collection of data: ['Alphabet','Zend','Ćwiczenia'] … Read more How To Overload Comparator To Sort With Utf-8 And Different Locales

Internet Explorer Returning Wrong Length Of String

I've ran into a possible bug with IE where calling the JavaScript .length function returns a va… Read more Internet Explorer Returning Wrong Length Of String