🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    uiflow v1.3.2 (stable) ntp_sync and strftime are missing

    Micropython
    2
    3
    6.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nash68
      last edited by

      Hi,
      with the new version, it seems that command line :
      rtc.ntp_sync(server="cn.ntp.org.cn", tz="CET-7CEST")
      gives now an error :
      AttributeError: 'RTC' object has no attribute 'ntp_sync'

      And strftiime command :
      d = time.strftime("%Y-%m-%d", time.localtime())
      gives also an error :
      AttributeError: 'module' object has no attribute 'strftime'

      Something has changed or something is missing ?
      Yours.

      1 Reply Last reply Reply Quote 0
      • H
        heybin
        last edited by

        sorry, 1.3.2 base micropython 1.11, so this function is not currently integrated

        1 Reply Last reply Reply Quote 0
        • N
          nash68
          last edited by

          Any plan for integration ?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post