Home
last modified time | relevance | path

Searched refs:make_naive (Results 1 – 24 of 24) sorted by relevance

/dports/www/py-django-tastypie/django-tastypie-0.14.4/tastypie/utils/
H A Dtimezone.py15 def make_naive(value): function
18 value = timezone.make_naive(value, default_tz)
28 return timezone.make_naive(utc_value)
H A Dformatting.py5 from tastypie.utils.timezone import make_naive, aware_datetime
14 return dateformat.format(make_naive(dt), 'r')
H A D__init__.py5 from tastypie.utils.timezone import now, make_aware, make_naive, aware_date, aware_datetime # noqa
/dports/www/seahub/seahub-8.0.7-server/seahub/utils/
H A Dtimeutils.py45 local = timezone.make_naive(utc, tz)
72 from django.utils.timezone import make_naive, is_aware
74 datetime = make_naive(datetime)
H A D__init__.py32 from django.utils.timezone import make_naive, is_aware
1337 d1 = make_naive(d1)
1340 d2 = make_naive(d2)
/dports/www/grafana8/grafana-8.3.6/devenv/docker/blocks/graphite09/files/
H A Devents_views.py77 def make_naive(dt): function
88 time_from = make_naive(parseATTime(request.GET["from"]))
93 time_until = make_naive(parseATTime(request.GET["until"]))
/dports/www/py-django-storages/django-storages-1.9.1/storages/backends/
H A Dgcloud.py251 return timezone.make_naive(blob.updated)
257 return updated if setting('USE_TZ') else timezone.make_naive(updated)
267 return created if setting('USE_TZ') else timezone.make_naive(created)
H A Dazure_storage.py297 return timezone.make_naive(properties.last_modified)
312 return timezone.make_naive(mtime)
H A Ds3boto3.py18 from django.utils.timezone import is_naive, make_naive
641 return make_naive(entry.last_modified)
648 return mtime if is_naive(mtime) else make_naive(mtime)
/dports/www/py-horizon/horizon-19.2.0/openstack_dashboard/usage/
H A Dbase.py121 start = timezone.make_naive(start, timezone.utc)
122 end = timezone.make_naive(end, timezone.utc)
/dports/www/py-feedgenerator/feedgenerator-2.0.0/feedgenerator/django/utils/
H A Dtimezone.py282 def make_naive(value, timezone): function
/dports/www/py-django-tastypie/django-tastypie-0.14.4/tastypie/
H A Dserializers.py19 make_naive
214 data = make_naive(data)
/dports/devel/py-jedi/jedi-0.18.0/jedi/third_party/django-stubs/django-stubs/utils/
H A Dtimezone.pyi62 def make_naive(value: _AnyTime, timezone: Optional[tzinfo] = ...) -> datetime: ...
/dports/www/py-django-storages/django-storages-1.9.1/tests/
H A Dtest_gcloud.py296 naive_date_montreal = timezone.make_naive(aware_date)
318 naive_date_montreal = timezone.make_naive(aware_date)
/dports/www/py-dj32-django-filter/django-filter-21.1/django_filters/
H A Dutils.py228 return timezone.make_naive(value, timezone.utc)
/dports/www/py-django-filter/django-filter-21.1/django_filters/
H A Dutils.py228 return timezone.make_naive(value, timezone.utc)
/dports/www/py-wagtail/wagtail-2.14.2/wagtail/contrib/sitemaps/
H A Dtests.py78 expected = timezone.make_naive(expected)
/dports/databases/py-south/South-1.0.2/south/
H A Dmodelsinspector.py340 value = timezone.make_naive(value, default_timezone)
/dports/www/seahub/seahub-8.0.7-server/seahub/api2/endpoints/admin/
H A Dusers.py16 from django.utils.timezone import make_naive, is_aware
81 last_login_time = make_naive(last_login_time)
86 device_last_access = make_naive(device_last_access)
/dports/www/py-wagtail/wagtail-2.14.2/wagtail/core/tests/
H A Dtest_page_model.py848 …page.first_published_at, timezone.make_naive(datetime.datetime(2014, 1, 1, 12, 0, 0, tzinfo=pytz.u…
875 …page.first_published_at, timezone.make_naive(datetime.datetime(2014, 1, 1, 12, 0, 0, tzinfo=pytz.u…
940 …about_us.first_published_at, timezone.make_naive(datetime.datetime(2014, 1, 1, 12, 0, 0, tzinfo=py…
943 …about_us.last_published_at, timezone.make_naive(datetime.datetime(2014, 2, 1, 12, 0, 0, tzinfo=pyt…
/dports/www/py-dj32-djangorestframework/djangorestframework-3.12.4/rest_framework/
H A Dfields.py1191 return timezone.make_naive(value, utc)
/dports/www/py-djangorestframework/djangorestframework-3.12.4/rest_framework/
H A Dfields.py1191 return timezone.make_naive(value, utc)
/dports/www/py-dj32-django-filter/django-filter-21.1/tests/
H A Dtest_filtering.py391 local_ten_min_ago = timezone.make_naive(ten_min_ago, tz)
/dports/www/py-django-filter/django-filter-21.1/tests/
H A Dtest_filtering.py391 local_ten_min_ago = timezone.make_naive(ten_min_ago, tz)