This commit is contained in:
commit 844652c756
5 changed files with 145 additions and 0 deletions

5
gnss_utils.py Normal file
View file

@ -0,0 +1,5 @@
from datetime import datetime, timezone
def current_utc_time():
"""Возвращает текущее UTC-время, для синхронизации с RTC"""
return datetime.now(timezone.utc).isoformat()