Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.

How do you customize how mtime is displayed in columnview?

0 votes
asked Mar 10 in vifm by meandering fuzz

I changed viewcolumns to: set viewcolumns=-{name}..,{mtime},6{} in the vifmrc to display the time modified. When I launched vifm it displayed the column in the format mm/dd hh:mm. I'd prefer the format yyyy-mm-dd hh:mm. I went looking around for information on how to format the date and I couldn't find anything. Can this be done and if so how?

1 Answer

0 votes
answered Mar 10 by xaizek
selected Mar 10 by xaizek
 
Best answer

It's possible, you just need to set 'timefmt' option (docs):

set timefmt='%Y-%m-%d %H:%M'
commented Mar 10 by meandering fuzz

I figured I was missing something obvious. Thanks. :)

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...