Project

General

Profile

Actions

Patch #6450

open

Allow localized date input and correctly transform for custom date fields

Added by Stuart Cianos about 14 years ago. Updated about 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
2010-09-21
Due date:
% Done:

0%

Estimated time:

Description

Patch allows users to manipulate custom date fields using their local format.

  • Adds a library routine to the I18n extensions. The routine provides for the parsing of a user entered date into a Date object.
  • The custom value model has been upated to correctly account for the user's date setting (if available). If not, defaults to YYYY-MM-DD.

This allows users to enter their dates in their localized format (as defined by setting.date_format), and have it correctly transformed to YYYY-MM-DD. If the localized setting is not available, falls back to YYYY-MM-DD for input.

This partially fixes defect #668 as it applies to custom fields. This was a major pain point for our users, so hopefully will solve a lot of problems experienced elsewhere.


Files


Related issues

Related to Redmine - Defect #668: Date input fields don't respect date format settingsNewJean-Philippe Lang2008-02-15

Actions
Actions

Also available in: Atom PDF