Bug 3089 - Date entry fields should indicate required date format
Summary: Date entry fields should indicate required date format
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: PATCH-Sent (DO NOT USE) minor (vote)
Assignee: Owen Leonard
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-04 05:59 UTC by Owen Leonard
Modified: 2012-10-25 22:52 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Fix for memberentrygen.tmpl (add patron interface) (3.32 KB, patch)
2009-04-04 20:13 UTC, Chris Cormack
Details | Diff | Splinter Review
Corrected to use TMPL_ELSIF (3.04 KB, patch)
2009-05-02 16:56 UTC, Chris Cormack
Details | Diff | Splinter Review
Proposed fix (31.57 KB, patch)
2010-01-28 17:24 UTC, Chris Cormack
Details | Diff | Splinter Review
Proposed fix, corrected (31.56 KB, patch)
2010-02-03 15:46 UTC, Chris Cormack
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 01:06:16 UTC


---- Reported by oleonard@myacpl.org 2009-04-04 17:59:21 ----

If a date entry field requires a certain date format for the entry, there should be some kind of hint to the user: "YYYY-MM-DD." There are cases where the datepicker is impractical, e.g. Patron entry where going back 20 years to find the correct date is too time-consuming. Offering help with the expected format would help users enter the date correctly.



---- Additional Comments From oleonard@myacpl.org 2009-04-04 20:13:13 ----

Created an attachment
Fix for memberentrygen.tmpl (add patron interface)





---- Additional Comments From oleonard@myacpl.org 2009-05-02 16:56:45 ----

Created an attachment
Corrected to use TMPL_ELSIF





---- Additional Comments From oleonard@myacpl.org 2010-01-28 17:24:09 ----

Created an attachment
Proposed fix

- Adds include, date-format.inc, which shows format, e.g. "(DD/MM/YYYY)"
- Hint shows expected date format based on system preference
- Removing calendar.inc include from templates which don't use it



---- Additional Comments From oleonard@myacpl.org 2010-02-03 15:46:34 ----

Created an attachment
Proposed fix, corrected

Fix whitespace warning



---- Additional Comments From gmcharlt@gmail.com 2010-02-03 20:24:35 ----

Patch pushed to HEAD, please test and close.



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:06 UTC  ---

This bug was previously known as _bug_ 3089 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3089
This bug depended on bug(s) 4073.
Imported an attachment (id=1083)
Imported an attachment (id=1084)
Imported an attachment (id=1085)
Imported an attachment (id=1086)

Actual time not defined. Setting to 0.0
The original submitter of attachment 1083 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1084 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1085 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1086 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.