ctime & mtime date format #1643
Replies: 4 comments 3 replies
-
This kind of ruins the point of allowing users to override the linemode, because the whole purpose of supporting it was to avoid adding extra options. I'm certain that it's impossible to cover all users' needs with options, and doing so would bloat Yazi. Plus, overriding it is really simple, requiring just a few lines of Lua code, and it has no impact on performance or the need to recompile the source code. However, I can consider changing the default date format from |
Beta Was this translation helpful? Give feedback.
-
I advice using the international standard ISO 8601
or other combinations https://en.wikipedia.org/wiki/ISO_8601 |
Beta Was this translation helpful? Give feedback.
-
or maybe use the locale of the user's system locale -k LC_TIME ([cultureinfo]::CurrentCulture.DateTimeFormat).ShortDatePattern |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
yazi --debug
outputPlease describe the problem you're trying to solve
The current date format for ctime and mtime linemodes are mm/dd and I wish to be able to change it to the more conventional dd/mm without writing a custom linemode.
Anyway, thank you for making this super fast ducky file manager. Cheers!
Would you be willing to contribute this feature?
Describe the solution you'd like
Maybe it would be good to have an option to format linemodes in the configuration file?
I would contribute but all I know is some terrible python, sorry.
Additional context
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions