It would be really nice to be able to tweak the date / time format in file listing (on Linux, don't know about the Windows side).
Currently, the format is too long and oddly shaped, with PM/AM time and out of order date:
* currently: MONTH/DAY/YEAR time in 12 hours format plus timezone region (YUCK!)
* a better way: YEAR/MONTH/DAY time in 24 hours format (YES!)
Linux: Change date format displayed in browser
Moderators: helmut, XnTriq, xnview
Re: Change default date format in file listings
FAIK, by default XnView uses the date/time format of Windows or your OS. To change this, XnView MP allows for using date format variables. E.g. you can specify "{Modified Date [Ymd HMS]}".
In the "File listing" dialog, when pressing ">" you have the top most entry "Date format variables" which helps to find the correct variables.
Related topics:
- Using date variable in 'Add Text'
- Display time with seconds - hh:mm:ss
In the "File listing" dialog, when pressing ">" you have the top most entry "Date format variables" which helps to find the correct variables.
Related topics:
- Using date variable in 'Add Text'
- Display time with seconds - hh:mm:ss
Re: Change default date format in file listings
I'm not sure if we are talking about the same thing.
I see no option anywhere to change the date format displayed in the file browser.
In the "File list" dialog, there is no setting about it.
There is nothing in the xnview.ini either. I suspect this is hard coded.
For comparison, the "default" date format from the "date" GNU program is something like this:
Would be nice to have flexibility in changing this format, even if it's only by going in the xnview.ini file...

I see no option anywhere to change the date format displayed in the file browser.
In the "File list" dialog, there is no setting about it.
There is nothing in the xnview.ini either. I suspect this is hard coded.
For comparison, the "default" date format from the "date" GNU program is something like this:
Code: Select all
user@linux> date
Mon Dec 5 00:44:26 CET 2016
user@linux> date +%Y-%m-%d\ %H:%M:%S
2016-12-05 00:45:51

Re: Change default date format in file listings
Oh, right: You were talking of the way files are displayed in the browser while I was talking about the file listing (Create > File listing). That's too pair of shoes. For all I know there is no setting to change the date format in the browser apart from changing the file format of Windows.
Re: Change default date format in file listings
Bu... but I'm not using Windows! :(
And as I said, it doesn't depend on how the operating system displays date because it's certainly hard coded in xnview somehow.
And as I said, it doesn't depend on how the operating system displays date because it's certainly hard coded in xnview somehow.
Re: Change default date format in file listings
Ouch, sorry for that. I didn't read your original post carefully.pangwolin wrote:Bu... but I'm not using Windows!
I doubt that it's hardcoded on Linux but it might be. Pierre will know...pangwolin wrote:And as I said, it doesn't depend on how the operating system displays date because it's certainly hard coded in xnview somehow.