Project

General

Profile

Bug #6972

WLocale has issues with non US locales

Added by Rathnadhar K V almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/27/2019
Due date:
% Done:

0%

Estimated time:

Description

There is a bug in WLocale

When I set the WLocale to "en_IN" {English, India}

Group seperator is NULL: It should be ","

Date format is yyyy-mm-dd: It should be dd/MM/yyyy or dd/MMM/yyyy

Date Time format is yyyy-mm-dd HH:mm:ss : It should be dd/MM/yyyy HH:mm:ss

For date format, its choosing ISO format, that is a bug.

Regards

Rathnadhar K V

#1

Updated by Roel Standaert almost 4 years ago

WLocale is working as designed in that case. Setting it to en_IN only sets the name, and affects how translated strings are looked up.

Wt does not contain or access a database with that information (what the group separator is for a given locale, what the date time format is,...).

You will have to set those things yourself.

#2

Updated by Roel Standaert over 3 years ago

  • Status changed from New to Closed

Also available in: Atom PDF