Re: [OPEN-ILS-GENERAL] Receipt template date formats?
Hi all, Thanks for these suggestions. The "sledgehammer" approach of using the library setting was the only thing I had much success with, but it looks like this should work for us. I used the following format to make sure it wasn't too many characters to display nicely in the staff client: -MM-dd (EEE) Again, I really appreciate your help! -Jane On Fri, Oct 2, 2015 at 6:12 AM, Thomas Berezansky <tsb...@mvlc.org> wrote: > Which is why I suggested the %due_date_sort_value% variant. > > > Quoting "McCanna, Terran" <tmcca...@georgialibraries.org>: > >> I tested %a (and every other standard and non-standard letter, lower case >> and capitalized) and didn't find one that worked with %due_date%. >> >> >> Terran McCanna >> PINES Program Manager >> Georgia Public Library Service >> 1800 Century Place, Suite 150 >> Atlanta, GA 30345 >> 404-235-7138 >> tmcca...@georgialibraries.org >> - Original Message - >> From: "Thomas Berezansky" <tsb...@mvlc.org> >> To: "Evergreen Discussion Group" >> <open-ils-general@list.georgialibraries.org> >> Sent: Friday, October 2, 2015 8:44:19 AM >> Subject: Re: [OPEN-ILS-GENERAL] Receipt template date formats? >> >> 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" <tmcca...@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 >>> tmcca...@georgialibraries.org >>> - Original Message - >>> From: "Jane Sandberg" <sand...@linnbenton.edu> >>> To: "Evergreen Discussion Group" >>> <open-ils-general@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 -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 >>> sand...@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 > > > > -- > Thomas Berezansky > Assistant Network Administrator > Merrimack Valley Library Consortium > 4 High ST, Suite 175 > North Andover, MA 01845 > Phone: 978-557-8161 > -- Jane Sandberg Electronic Resources Librarian Linn-Benton Community College sand...@linnbenton.edu / 541-917-4655
Re: [OPEN-ILS-GENERAL] Receipt template date formats?
Which is why I suggested the %due_date_sort_value% variant. Quoting "McCanna, Terran" <tmcca...@georgialibraries.org>: I tested %a (and every other standard and non-standard letter, lower case and capitalized) and didn't find one that worked with %due_date%. Terran McCanna PINES Program Manager Georgia Public Library Service 1800 Century Place, Suite 150 Atlanta, GA 30345 404-235-7138 tmcca...@georgialibraries.org - Original Message - From: "Thomas Berezansky" <tsb...@mvlc.org> To: "Evergreen Discussion Group" <open-ils-general@list.georgialibraries.org> Sent: Friday, October 2, 2015 8:44:19 AM Subject: Re: [OPEN-ILS-GENERAL] Receipt template date formats? 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" <tmcca...@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 tmcca...@georgialibraries.org - Original Message - From: "Jane Sandberg" <sand...@linnbenton.edu> To: "Evergreen Discussion Group" <open-ils-general@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 -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 sand...@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 -- Thomas Berezansky Assistant Network Administrator Merrimack Valley Library Consortium 4 High ST, Suite 175 North Andover, MA 01845 Phone: 978-557-8161
Re: [OPEN-ILS-GENERAL] Receipt template date formats?
I tested %a (and every other standard and non-standard letter, lower case and capitalized) and didn't find one that worked with %due_date%. Terran McCanna PINES Program Manager Georgia Public Library Service 1800 Century Place, Suite 150 Atlanta, GA 30345 404-235-7138 tmcca...@georgialibraries.org - Original Message - From: "Thomas Berezansky" <tsb...@mvlc.org> To: "Evergreen Discussion Group" <open-ils-general@list.georgialibraries.org> Sent: Friday, October 2, 2015 8:44:19 AM Subject: Re: [OPEN-ILS-GENERAL] Receipt template date formats? 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" <tmcca...@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 > tmcca...@georgialibraries.org > - Original Message - > From: "Jane Sandberg" <sand...@linnbenton.edu> > To: "Evergreen Discussion Group" <open-ils-general@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 -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 > sand...@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
Re: [OPEN-ILS-GENERAL] Receipt template date formats?
So, you are looking for a date like "Wednesday, October 7, 2015"? I've not ran across that date format. Lynn Floyd lfl...@andersonlibrary.org Anderson County Library 864-260-4500 x181 http://www.andersonlibrary.org -Original Message- From: Open-ils-general [mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Jane Sandberg Sent: Thursday, October 01, 2015 4:44 PM To: Evergreen Discussion Group 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 -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 sand...@linnbenton.edu / 541-917-4655
Re: [OPEN-ILS-GENERAL] Receipt template date formats?
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 tmcca...@georgialibraries.org - Original Message - From: "Jane Sandberg"To: "Evergreen Discussion Group" 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 -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 sand...@linnbenton.edu / 541-917-4655