View Single Post
Old 10-28-2011, 08:24 AM   #11
enriquep
Connoisseur
enriquep shines like a glazed doughnut.enriquep shines like a glazed doughnut.enriquep shines like a glazed doughnut.enriquep shines like a glazed doughnut.enriquep shines like a glazed doughnut.enriquep shines like a glazed doughnut.enriquep shines like a glazed doughnut.enriquep shines like a glazed doughnut.enriquep shines like a glazed doughnut.enriquep shines like a glazed doughnut.enriquep shines like a glazed doughnut.
 
enriquep's Avatar
 
Posts: 52
Karma: 8860
Join Date: Jul 2009
Location: Madrid, Spain, EU
Device: Sony PRS-505, Sony PRS-T1, Sony PRS-T3
Quote:
Originally Posted by chaley View Post
You need at least yyyy mm dd to make sorting work. The column is sorted by the string you are seeing, not the real date underneath it, so the order of the date components is important.
Try
Code:
{:'re(list_item(formats_modtimes('yyyy-MM-dd'), 0, ','), '^.*?:', '')'}
Take out or replace the - characters if you don't like them.
That is perfect!! - Trying to keep compatibility with the Spanish standard "Date" format I have used this slight modification, and (... to my surprise, I must say) it has worked:
Code:
{:'re(list_item(formats_modtimes('dd/MM/yy'), 0, ','), '^.*?:', '')'}
So I take this as absolutely finished.


Thanks again.

Last edited by enriquep; 10-28-2011 at 09:38 AM. Reason: Adding modification used for "Spanish" variation.
enriquep is offline   Reply With Quote