Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date format in prompt #15

Closed
2 of 3 tasks
aborigeno opened this issue Jul 14, 2018 · 2 comments
Closed
2 of 3 tasks

Date format in prompt #15

aborigeno opened this issue Jul 14, 2018 · 2 comments

Comments

@aborigeno
Copy link

  • I'm submitting a ...

    • bug report
    • feature request
    • support request
  • Question
    It is possible to change the date format?

  • What is the current behavior?
     04:19:57 pm | charged  username  ~ 

  • What is the expected behavior?
     16:19:57 | charged  username  ~ 

  • What is the motivation / use case for changing the behavior?
    In my country 24h clock is used 😄

  • Please tell us about your environment:

  • Plugin Manager: antigen use oh-my-zsh
  • ZSH Version 5.5.1 (x86_64-apple-darwin15.6.0)
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, etc)
    It could be useful to allow override of alien_date_time_info(), alien_battery_stat(), etc functions if its possible
@eendroroy
Copy link
Owner

Try the following config. I have just added it :)
https://github.com/eendroroy/alien#date-format

export ALIEN_DATE_TIME_FORMAT=%H:%M:%S # default is %r

@aborigeno
Copy link
Author

Very nice, work as expected.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants