/dports/www/py-django-tastypie/django-tastypie-0.14.4/tastypie/utils/ |
H A D | timezone.py | 15 def make_naive(value): function 18 value = timezone.make_naive(value, default_tz) 28 return timezone.make_naive(utc_value)
|
H A D | formatting.py | 5 from tastypie.utils.timezone import make_naive, aware_datetime 14 return dateformat.format(make_naive(dt), 'r')
|
H A D | __init__.py | 5 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 D | timeutils.py | 45 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__.py | 32 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 D | events_views.py | 77 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 D | gcloud.py | 251 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 D | azure_storage.py | 297 return timezone.make_naive(properties.last_modified) 312 return timezone.make_naive(mtime)
|
H A D | s3boto3.py | 18 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 D | base.py | 121 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 D | timezone.py | 282 def make_naive(value, timezone): function
|
/dports/www/py-django-tastypie/django-tastypie-0.14.4/tastypie/ |
H A D | serializers.py | 19 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 D | timezone.pyi | 62 def make_naive(value: _AnyTime, timezone: Optional[tzinfo] = ...) -> datetime: ...
|
/dports/www/py-django-storages/django-storages-1.9.1/tests/ |
H A D | test_gcloud.py | 296 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 D | utils.py | 228 return timezone.make_naive(value, timezone.utc)
|
/dports/www/py-django-filter/django-filter-21.1/django_filters/ |
H A D | utils.py | 228 return timezone.make_naive(value, timezone.utc)
|
/dports/www/py-wagtail/wagtail-2.14.2/wagtail/contrib/sitemaps/ |
H A D | tests.py | 78 expected = timezone.make_naive(expected)
|
/dports/databases/py-south/South-1.0.2/south/ |
H A D | modelsinspector.py | 340 value = timezone.make_naive(value, default_timezone)
|
/dports/www/seahub/seahub-8.0.7-server/seahub/api2/endpoints/admin/ |
H A D | users.py | 16 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 D | test_page_model.py | 848 …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 D | fields.py | 1191 return timezone.make_naive(value, utc)
|
/dports/www/py-djangorestframework/djangorestframework-3.12.4/rest_framework/ |
H A D | fields.py | 1191 return timezone.make_naive(value, utc)
|
/dports/www/py-dj32-django-filter/django-filter-21.1/tests/ |
H A D | test_filtering.py | 391 local_ten_min_ago = timezone.make_naive(ten_min_ago, tz)
|
/dports/www/py-django-filter/django-filter-21.1/tests/ |
H A D | test_filtering.py | 391 local_ten_min_ago = timezone.make_naive(ten_min_ago, tz)
|