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

toot tui results in a "ValueError: time data […]" #114

Closed
Hund opened this issue Sep 3, 2019 · 3 comments
Closed

toot tui results in a "ValueError: time data […]" #114

Hund opened this issue Sep 3, 2019 · 3 comments

Comments

@Hund
Copy link

Hund commented Sep 3, 2019

I installed the latest version of toot on my Gentoo box and when I run toot tui I'm greeted with this:

2019-09-03-210841_788x468_scrot

  • Python 3.6.5
  • toot 0.23.0
  • requests 2.21
  • beautifulsoup 4.5.1
  • wcwidth 0.1.7
@ihabunek
Copy link
Owner

ihabunek commented Sep 4, 2019

Seems that in Python versions <3.7 %z does not match Z as offset. Also, it does not match ±HH:MM offsets, only ±HHMM which could be sent by a server (although I haven't yet seen it).

See note 6 here:
https://docs.python.org/3.7/library/datetime.html#strftime-and-strptime-behavior

ihabunek added a commit that referenced this issue Sep 4, 2019
@ihabunek
Copy link
Owner

ihabunek commented Sep 4, 2019

Should be fixed in https://github.com/ihabunek/toot/releases/tag/0.23.1
Please verify.

@Hund
Copy link
Author

Hund commented Sep 4, 2019

Verson 0.23.1 solves it. Thanks! :)

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

No branches or pull requests

2 participants