[Koha-bugs] [Bug 12072] New: New dateformats are stupidly hard to add

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 11 12:32:10 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12072

            Bug ID: 12072
           Summary: New dateformats are stupidly hard to add
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: I18N/L10N
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pasi.kallinen at pttk.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: frederic at tamil.fr

We need a dateformat like "dd.mm.yyyy" but just adding that into C4/Dates.pm,
Koha/DateUtils.pm and i18n_l10n.pref -files isn't enough, because the allowed
date formats are hard-coded in multiple template like this:

[% IF ( dateformat == "us" ) %]mm/dd/yy[% ELSIF ( dateformat == "metric" )
%]dd/mm/yy[% ELSE %]yy-mm-dd[% END %]

The dateformat style should be passed to the templates instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list