View Single Post
Old 11-23-2020, 10:20 AM   #30
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,118
Karma: 1954138
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by chaley View Post
I am not sure if this is relevant, but if you use raw_field() instead of field() the format in the column definition is ignored. You get the date in 'iso' format.
In this case we are actually trying to write a template output into a date column. The result of the template is parsed by parse_date before it is written into the date column. Your tip about raw_field certainly applies, but only if we are getting the date value from another date column — which is not always the case — but if it is the case, your way would be the most straightforward way of doing it.
capink is offline   Reply With Quote