Время координаты

This commit is contained in:
zakhy 2025-01-15 10:08:40 +07:00
parent 189d8b12bc
commit c2b235d3f1

View File

@ -148,7 +148,7 @@ def earthquake_list(request):
# Формула для вычисления радиуса землетрясения
res.append({
'id': earthquake.id,
'time': earthquake.date_time,
'time': earthquake.date_time.strftime("%d.%m.%Y %H:%M:%S"),
'lat': earthquake.latitude,
'lon': earthquake.longitude,
'depth': earthquake.depth,