Quote:
Originally Posted by ownedbycats
Thank you.
Any idea why the template search in #170 runs inconsistently on custom datetime fields? It only returns #fanficupdated values that are from the last few days, and nothing at all from #lastmodified. I don't think it's the formatting of the columns - it's using raw_field.
|
My guess is that you are not in the UTC time zone so the value you see is not the value stored in the database.
See 3 posts back. Try the template @capink posted that takes the time zone into account:
Code:
template:"program:
format_date($$timestamp, 'hh:mm')#@#:t:00:00"
If that doesn't work then we will need example failing raw_date() text to find the problem. Something like the output of this template:
Code:
program:
strcat($$timestamp, ' ::: ', format_date($$timestamp, 'hh:mm'))