[OPEN-ILS-GENERAL] To Displaying date format in the Receipt Template Output

Michele Morgan mmorgan at noblenet.org
Sun May 11 09:04:30 EDT 2014


Jayaraj,

You need to wrap some formatting around date variable to do this. Here’s one way:

%DATE_FORMAT(%due_date%, %d/%m/%Y)%

Hope this helps!

--
Michele Morgan
Technical Assistant
North of Boston Library Exchange
mmorgan at noblenet.org



On May 10, 2014, at 12:28 AM, Jayaraj JR <jayaraj at iisertvm.ac.in> wrote:

> Hi,
> 
> When printing the due date in the check out slip it prints both date and time. The %due_date% tag is given, the output displayed in the printed receipt contains both date and time. How to avoid time being displayed in the receipt printout. 
> 
> the current output for due date:   25-07-2014 11:59PM
> 
> our required output for due date: 25-07-2014
> 
> 
> The time displayed can create confusion with the user as our library is not currently working 24 hours. So we need to restrict the output to date format only. Is there any way available to do this
> 
> -- 
> Jayaraj J R
> Central Library
> IISER Thiruvananthapuram



More information about the Open-ils-general mailing list