Greetings,
 
I was looking at a bug, and I thought to myself, “What if I wanted the time stamp portion of included in this column, and not just a date?”. I ran:
grep '| \$KohaDates with' `find . -name "*.tt" | grep "\/en\/"`
just to see how others had done it. Well, initially without the with, and then with the with, because obviously I found the examples. Smile
 
./koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt:        <td><span title="[% QUEUED_MESSAGE.time_queued %]">[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</span></td>
./koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt:                    ([% file_name %] staged on [% upload_timestamp | $KohaDates with_hours => 1 %])
./koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt:                       <td><span title="[% batch_lis.staged_date %]">[% batch_lis.staged_date | $KohaDates with_hours => 1 %]</span></td>
./koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt:                                on <span title="[% timestamp | $KohaDates with_hours = 1 %]">
./koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt:                          on <span title="[% timestamp | $KohaDates with_hours = 1%]">
 
Is it supposed to be ‘=>’ or ‘=’? Does it matter? What is our standard? Should we have one?
 
GPML,
Mark Tompsett