how is it possible to get the current chrome localization?
Scenario:
The input field expects a date format entered in the current Chrome language, e.g.
English: 08/04/2022
German: 04.08.2022
otherwise it throws an error.
So what I need is to get the current Chrome language setting, to be then able to parse the date value from a data source into the expected format before entering it.
Using
Code: Select all
CultureInfo.CurrentCulture;
Code: Select all
CultureInfo.CurrentUICulture;
any idea?
thanks!