diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-02-19 19:32:06 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-02-19 19:57:08 (GMT) |
| commit | f689c90498b58a5198bb56a2d3d5211db9670283 (patch) | |
| tree | d5b319751bd62e0e0de74c83b7323e624f5291d3 /tools | |
| parent | c9ab38d75722027ee63c0626dde873045afbfc0b (diff) | |
wasp: Add full dd-mm-yyyy calender tracking
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/wasptool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/wasptool b/tools/wasptool index 635cb07..a6faf38 100755 --- a/tools/wasptool +++ b/tools/wasptool @@ -77,7 +77,7 @@ def handle_rtc(c): now = time.localtime() # Set the time - c.sendline(f'watch.rtc.set_time(({now[3]}, {now[4]}, {now[5]}))') + c.sendline(f'watch.rtc.set_localtime(({now[0]}, {now[1]}, {now[2]}, {now[3]}, {now[4]}, {now[5]}, {now[6]}, {now[7]}))') c.expect('>>> ') def handle_upload(c, fname): |
