1.6.4 parsing timezones
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
# Generated by Django 4.2.2 on 2024-07-12 17:23
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('ReferenceDataApp', '0005_remove_airport_parsing_finished_and_more'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='airport',
|
||||||
|
name='timezone',
|
||||||
|
field=models.CharField(blank=True, max_length=250, null=True, verbose_name='Часовая зона'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='city',
|
||||||
|
name='timezone',
|
||||||
|
field=models.CharField(blank=True, max_length=250, null=True, verbose_name='Часовая зона'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='country',
|
||||||
|
name='timezone',
|
||||||
|
field=models.CharField(blank=True, max_length=250, null=True, verbose_name='Часовая зона'),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load subscribes_tags_extra %}
|
{% load subscribes_tags_extra %}
|
||||||
|
|
||||||
|
{{ route.from_city.get_current_datetime }}
|
||||||
{% if route.departure_DT %}
|
{% if route.departure_DT %}
|
||||||
{# {% now 'Y-m-d H:i:s' as current_date %}#}
|
{# {% now 'Y-m-d H:i:s' as current_date %}#}
|
||||||
{% now 'Y-m-d H:i:s' as current_date %}
|
{% now 'Y-m-d H:i:s' as current_date %}
|
||||||
|
|||||||
Reference in New Issue
Block a user