Skip to content

Instantly share code, notes, and snippets.

@alexcepoi
Created April 12, 2016 16:30
Show Gist options
  • Save alexcepoi/837d4a0dfc54e216f2a443c5bf3955e0 to your computer and use it in GitHub Desktop.
Save alexcepoi/837d4a0dfc54e216f2a443c5bf3955e0 to your computer and use it in GitHub Desktop.
i3pystatus bad reported time
**** format='%a %-d %b %H:%M'
% python3 pystatus.py
{"version": 1, "click_events": true}
[
[{"urgent": false, "name": "i3pystatus.clock.Clock", "markup": "none", "full_text": "Tue 12 Apr 12:59", "color": "#2e9ef4", "instance": "140679667622800"}]
% PYTHONPATH=~/i3pystatus/ python3 pystatus.py // master (8aeaab7fa5372b443cc45ef4165d2897dfc38541)
{"version": 1, "click_events": true}
[
[{"instance": "140646587005136", "name": "i3pystatus.clock.Clock", "urgent": false, "color": "#2e9ef4", "markup": "none", "full_text": "Tue 12 Apr 05:59"}]
**** format=('%a %-d %b %H:%M', 'Europe/London')
% python3 pystatus.py
{"click_events": true, "version": 1}
[
[{"urgent": false, "color": "#2e9ef4", "instance": "140332196172688", "full_text": "Tue 12 Apr 14:00", "name": "i3pystatus.clock.Clock", "markup": "none"}]
% PYTHONPATH=~/i3pystatus/ python3 pystatus.py // master (8aeaab7fa5372b443cc45ef4165d2897dfc38541)
{"click_events": true, "version": 1}
[
[{"full_text": "Tue 12 Apr 14:00", "markup": "none", "color": "#2e9ef4", "urgent": false, "name": "i3pystatus.clock.Clock", "instance": "140189687133128"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment