At 3.28.6, I have a GeoPackage table with a date field which always displays in the attribute table window as M/d/yyyy. I would like it to display as the ISO 8601 standard yyyy-MM-dd.
Using the Field Calculator I try format_date("date_field", 'yyyy-MM-dd')
. No error occurs, but the result still displays M/d/yyyy.
How do I display a date field in the attribute table window as yyyy-MM-dd?
strftime
. Have you tried using 'YYYY-MM-DD'?