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

ikhal panics on custom datetime format #1007

Closed
savchenko opened this issue Feb 18, 2021 · 2 comments · Fixed by #1008
Closed

ikhal panics on custom datetime format #1007

savchenko opened this issue Feb 18, 2021 · 2 comments · Fixed by #1008

Comments

@savchenko
Copy link

Steps to reproduce:

  1. Set date format to %a, %d %b %Y
  2. Launch ikhal:
    critical: config error:
    critical: in [locale] dateformat: the value "['%a', '%d %b %Y']" is of the wrong type.
    critical: config error:
    critical: in [locale] datetimeformat: the value "['%a', '%d %b %Y %H:%M']" is of the wrong type.
    critical: config error:
    critical: in [locale] longdateformat: the value "['%a', '%d %b %Y']" is of the wrong type.
    critical: config error:
    critical: in [locale] longdatetimeformat: the value "['%a', '%d %b %Y %H:%M']" is of the wrong type.
    

Potentially related to #786

@d7415
Copy link
Collaborator

d7415 commented Feb 18, 2021

Hi. The problem is the comma. If you use dateformat = "%a, %d %b %Y" it should work.

@savchenko
Copy link
Author

The problem is the comma

Indeed. Works with comma removed, thank you.

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

Successfully merging a pull request may close this issue.

2 participants