Skip to content

Commit 285cdda

Browse files
ladyadaNeradoc
andauthored
Update adafruit_datetime.py
Co-authored-by: Neradoc <[email protected]>
1 parent bd7f6eb commit 285cdda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_datetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1525,7 +1525,7 @@ def timestamp(self) -> float:
15251525
Note that Floats on most boards are encoded in 30 bits
15261526
internally, with effectively 22 bits of precision. As a result,
15271527
for modern dates this value can be off by several minutes.
1528-
As a workaround you can access the function ``_mitime()``
1528+
As a workaround you can access the function ``_mktime()``
15291529
to get an int version of the timestamp.
15301530
"""
15311531
if not self._tzinfo is None:

0 commit comments

Comments
 (0)