summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/qstrdefsport.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-08 22:25:49 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-08 22:25:49 +0100
commitd6cbbc51ab5c2af0f5280ec80a6fa66f20d4ed02 (patch)
tree8314c272b3627d9d7ecd525b537f4492dba0474d /stmhal/qstrdefsport.h
parent62b5f42d8174e49bc219e5231d4fc9503ece4131 (diff)
downloadmicropython-d6cbbc51ab5c2af0f5280ec80a6fa66f20d4ed02.tar.gz
micropython-d6cbbc51ab5c2af0f5280ec80a6fa66f20d4ed02.zip
stmhal: Add time.time() and time.localtime().
time.time: returns seconds since 1/1/2000, as an integer. time.localtime: Returns 8-tuple: (year, month, date, hour, minute, second, weekday, yearday).
Diffstat (limited to 'stmhal/qstrdefsport.h')
-rw-r--r--stmhal/qstrdefsport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/qstrdefsport.h b/stmhal/qstrdefsport.h
index 7ffcddc7e3..c2cf6840df 100644
--- a/stmhal/qstrdefsport.h
+++ b/stmhal/qstrdefsport.h
@@ -236,6 +236,7 @@ Q(urandom)
// for time module
Q(time)
+Q(localtime)
Q(sleep)
// for input