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 /wasp/boards/simulator | |
| parent | c9ab38d75722027ee63c0626dde873045afbfc0b (diff) | |
wasp: Add full dd-mm-yyyy calender tracking
Diffstat (limited to 'wasp/boards/simulator')
| -rw-r--r-- | wasp/boards/simulator/watch.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wasp/boards/simulator/watch.py b/wasp/boards/simulator/watch.py index 75bd232..6e7fcee 100644 --- a/wasp/boards/simulator/watch.py +++ b/wasp/boards/simulator/watch.py @@ -74,6 +74,9 @@ class RTC(object): self.uptime = now return True + def get_localtime(self): + return time.localtime() + def get_time(self): now = time.localtime() return (now[3], now[4], now[5]) |
