Change the date format for resources

10 views
Skip to first unread message

Trond Helge Rolland

unread,
Oct 21, 2025, 9:35:12 AMOct 21
to ResourceSpace
I see the default date format seems to be suck on "21 October 2025", where the name of the month matches the selected language option. 
But I can't find any settings allowing me to change this format, which I believe is the "d F Y" format in php. A quick search through the files shows the date function being using a lot, with a lot of different formats (d/m/Y, YmdHis, Y-m-d H:i:s etc), wouldn't it be better if this format/pattern to be a setting in the config file? I can't find anything besides the $date_d_m_y setting. 

This would especially come in handy when we have collections with a bunch of images where we can sort by date taken, and it's clear the sort function also respects the clock (full datetime format), but since this isn't available in the gui it gets a bit confusing. 

I've looked everywhere in the knowledge base as well as in the default config but I can't find any reference to this option (if there is). Any suggestions? 
Reply all
Reply to author
Forward
0 new messages