[OPEN-ILS-GENERAL] Receipt template date formats?
Thomas Berezansky
tsbere at mvlc.org
Fri Oct 2 08:44:19 EDT 2015
If %a works (and I haven't tested to see that it does) you would
probably want this:
%DATE_FORMAT(%due_date_sort_value%, %a)%
The pre-formatted %due_date% doesn't usually parse as a date.
Quoting "McCanna, Terran" <tmccanna at georgialibraries.org>:
> Hi Jane,
>
> I haven't tested this, but I think you can get the day of the week with %a:
>
> %DATE_FORMAT(%due_date%, %a)%
>
>
> Terran McCanna
> PINES Program Manager
> Georgia Public Library Service
> 1800 Century Place, Suite 150
> Atlanta, GA 30345
> 404-235-7138
> tmccanna at georgialibraries.org
> ----- Original Message -----
> From: "Jane Sandberg" <sandbej at linnbenton.edu>
> To: "Evergreen Discussion Group" <open-ils-general at list.georgialibraries.org>
> Sent: Thursday, October 1, 2015 4:43:47 PM
> Subject: [OPEN-ILS-GENERAL] Receipt template date formats?
>
> Hi Evergreen,
>
> We were wondering if we could change the format of the due date in
> receipt templates. The %due_date% macro gives us the YYYY-MM-DD
> format, but we were interested in getting the day of the week in there
> somehow. Is this a possibility?
>
> Thanks,
>
> -Jane
>
> --
> Jane Sandberg
> Electronic Resources Librarian
> Linn-Benton Community College
> sandbej at linnbenton.edu / 541-917-4655
--
Thomas Berezansky
Assistant Network Administrator
Merrimack Valley Library Consortium
4 High ST, Suite 175
North Andover, MA 01845
Phone: 978-557-8161
More information about the Open-ils-general
mailing list