oh-my-fish / theme-bobthefish

A Powerline-style, Git-aware fish theme optimized for awesome.
MIT License
1.44k stars 223 forks source link

how to Change date language #313

Closed woshichuanqilz closed 4 months ago

woshichuanqilz commented 2 years ago

My date show in Chinese language, how to change it, I havent found the appropriate options in the instruction.

bobthecow commented 2 years ago

It's possible to set theme_date_format in your shell to override the default date format. If you don't set it, the default is +%c, your system locale's default.

For example, to get ISO 8601 format, add this somewhere in your fish config:

set -g theme_date_format "+%Y-%m-%dT%H:%M:%SZ"

The date manual has all the options available.