Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -206,14 +206,13 @@ def get_current_time():
|
|
206 |
utc_now = datetime.utcnow()
|
207 |
msk_tz = pytz.timezone('Europe/Moscow')
|
208 |
msk_now = utc_now.replace(tzinfo=pytz.utc).astimezone(msk_tz)
|
209 |
-
current_time = msk_now.
|
210 |
return jsonify({'current_time': current_time})
|
211 |
|
212 |
|
213 |
|
214 |
|
215 |
|
216 |
-
|
217 |
# Функция для очистки номера телефона
|
218 |
def clean_phone_number_ss(phone_number):
|
219 |
return re.sub(r'\D', '', phone_number)
|
|
|
206 |
utc_now = datetime.utcnow()
|
207 |
msk_tz = pytz.timezone('Europe/Moscow')
|
208 |
msk_now = utc_now.replace(tzinfo=pytz.utc).astimezone(msk_tz)
|
209 |
+
current_time = msk_now.isoformat(timespec='microseconds')
|
210 |
return jsonify({'current_time': current_time})
|
211 |
|
212 |
|
213 |
|
214 |
|
215 |
|
|
|
216 |
# Функция для очистки номера телефона
|
217 |
def clean_phone_number_ss(phone_number):
|
218 |
return re.sub(r'\D', '', phone_number)
|