Ticket #777 (closed defect: fixed)

Opened 19 months ago

Last modified 17 months ago

Datefield / jscalendar does not support US locale

Reported by: Jani Laakso Owned by: Jani Laakso
Priority: critical Milestone: 4.0.3
Component: undefined Version: 4.0.0
Keywords: Cc:
Known Issue description: DateField component renders based on en-en locale even if client browser asks for en-us locale.
Hours estimate: 0 Deadline (dd.mm.yyyy):
Known Issue version (since): 4.0.0 Known Issue title: DateField en-us locale issue
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: yes Contract:

Description

If browser has en/us locale, calendar-en.js is loaded. For US users we should add calendar-us.js and define correct date time representation there.

Customer could edit calendar-en.js but it would brake other locales.

Change History

Changed 19 months ago by Jani Laakso

  • status changed from new to closed
  • hours_left changed from 3 to 0
  • resolution set to fixed
  • milestone changed from 4.1.0 to 4.0.2

Fixed in [1608].

Tested with following locales using Firefox 2.0.0.3 / Linux: en-en en-US fi sv

Changed 19 months ago by Jani Laakso

Note: TT_DATE_FORMAT on calendar-us.js file is still possibly wrong but this is not major issue considering also that jscalendar needs major refactoring or drop out.

DEF_DATE_FORMAT is shown on datefield component. TT_DATE_FORMAT is shown when calendar is open on the bottom of calendar.

Changed 19 months ago by Jani Laakso

  • affects_release_notes unset

Changed 19 months ago by Jani Laakso

  • status changed from closed to reopened
  • resolution deleted

Changed 19 months ago by Jani Laakso

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone changed from 4.0.2 to Candidates for next release

Fixed again in [1679], mixup with repository.

Changed 19 months ago by Jani Laakso

  • milestone changed from Candidates for next release to 4.1.0

Changed 19 months ago by Jani Laakso

  • milestone changed from 4.1.0 to 4.1.0-rc

Changed 17 months ago by Jani Laakso

  • milestone changed from 4.1.0-rc to 4.0.3

Milestone 4.1.0-rc deleted

Changed 17 months ago by Jani Laakso

  • known_issue_title set to DateField en-us locale issue
  • known_issue_desc modified (diff)
  • affects_release_notes set

Changed 17 months ago by Jani Laakso

  • known_issue_since set to 4.0.0

Changed 17 months ago by Jani Laakso

  • known_issue_desc modified (diff)
Note: See TracTickets for help on using tickets.