
    7j~                         d Z ddlmZmZ ddlmZmZmZ ddlm	Z	  e	d      d        Z
 e	d      d        Z e	d      d	        Zy
)a  Functions to work with dates and times in a uniform way.

The results of these functions are cached for 5 seconds to provide uniform time strings across short running processes. Long running processes that need more precise timekeeping should not use these functions.
    )gmtimestrftime)DATE_FORMATDATETIME_FORMATTIME_FORMAT)	lru_cache   )timeoutc                  2    t        t        t                     S z;Returns the current time in UTZ as a formatted string.
    )r   r   r        E/home/hanthebot/chat/keyboard/qmk_firmware/lib/python/qmk/datetime.pycurrent_dater           K**r   c                  2    t        t        t                     S r   )r   r   r   r   r   r   current_datetimer      s     OVX..r   c                  2    t        t        t                     S r   )r   r   r   r   r   r   current_timer      r   r   N)__doc__timer   r   qmk.constantsr   r   r   qmk.decoratorsr   r   r   r   r   r   r   <module>r      sc    " C C $ 1+ + 1/ / 1+ +r   