Bug 15146 - Format date of birth on patrons requesting modification page
Summary: Format date of birth on patrons requesting modification page
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: master
Hardware: All All
: P5 - low trivial (vote)
Assignee: Marc Véron
QA Contact: Testopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-06 07:57 UTC by Marc Véron
Modified: 2016-06-21 21:40 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Bot Control: ---
When did the bot last check this:
Who signed the patch off:
Text to go in the release notes:


Attachments
Bug 15146 - Format date of birth on patrons requesting modification page (2.69 KB, patch)
2015-11-06 08:16 UTC, Marc Véron
Details | Diff | Splinter Review
[SIGNED-OFF]Bug 15146 - Format date of birth on patrons requesting modification page (2.85 KB, patch)
2015-11-06 14:34 UTC, Héctor Eduardo Castro Avalos
Details | Diff | Splinter Review
Bug 15146 - Format date of birth on patrons requesting modification page (2.90 KB, patch)
2015-11-06 14:51 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Véron 2015-11-06 07:57:05 UTC
To reproduce:

- Log in to Opac
- Go to "your personal details"
- Request a change of the date of birth
- Log in to Staff client
- Follow link to Patrons requesting modifications
  (/koha/members/members-update.pl)
=> The date is not formatted in syspref format

This is independent from C4::Dates removal.
Comment 1 Marc Véron 2015-11-06 08:16:38 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2015-11-06 08:20:25 UTC
Related to but not depending from Bug 14956
Comment 3 Héctor Eduardo Castro Avalos 2015-11-06 14:34:57 UTC Comment hidden (obsolete)
Comment 4 Jonathan Druart 2015-11-06 14:51:46 UTC
Created attachment 44572 [details] [review]
Bug 15146 - Format date of birth on patrons requesting modification page

To reproduce / test

- Log in to Opac
- Go to "your personal details"
- Request a change of the date of birth
- Log in to Staff client
- Follow link to Patrons requesting modifications
  (/koha/members/members-update.pl)
=> The date is not formatted in syspref format

- Apply patch, reload members-update.pl
=> The date is formatted in syspref format

- Approve changes
- Verify that changes are saved

This is independent from C4::Dates removal.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised. Changes saved Ok, Update patron record follows
dateformat syspref

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 5 Tomás Cohen Arazi 2015-11-06 18:14:08 UTC
Patch pushed to master.

Thanks Marc!