8000 unix port missing utime.mktime() · Issue #4576 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content

unix port missing utime.mktime() #4576

@klapauciusisgreat

Description

@klapauciusisgreat

It looks like the unix port has utime.mktime() missing

I was trying to make a script running both on micropython/regular python via the usual hack:

try: 
  import utime as time
except:
  import time

but since mktime is not in utime (as the documentation suggests), that fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0