https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29711

--- Comment #1 from Tomás Cohen Arazi <tomasco...@gmail.com> ---
Created attachment 128627
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128627&action=edit
Bug 29711: Pass release date in ISO to about.tt

This patch makes the date be converted into ISO format so it is
correctly handled by the KohaDates TT filter.

To test:
1. Point your browser to the about page
=> FAIL: It explodes:
   Template process failed: undef error - The given date (2022-05-22T00:00:01)
does not match the date format (iso)
2. Apply this patch
3. Restart:
   $ koha-plack --restart kohadev
4. Repeat 1
=> SUCCESS: It doesn't explode, shows the right date!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomasco...@theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to