Ver Fonte

Uso del Timezone correcro y CLIMA_URL

Tomas Ponce Gessi há 3 anos atrás
pai
commit
60be6f4d4b
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      app/preports/settings.py

+ 3 - 3
app/preports/settings.py

@@ -76,7 +76,7 @@ WSGI_APPLICATION = 'preports.wsgi.application'
 # Database
 # https://docs.djangoproject.com/en/4.0/ref/settings/#databases
 
-DATABASES =  {
+DATABASES = {
     'default': {
         'NAME': os.getenv("DB_NAME"),
         'ENGINE': 'django.db.backends.postgresql',
@@ -110,7 +110,7 @@ AUTH_PASSWORD_VALIDATORS = [
 
 LANGUAGE_CODE = 'en-us'
 
-TIME_ZONE = 'UTC'
+TIME_ZONE = 'America/Argentina/Cordoba'
 
 USE_I18N = True
 
@@ -127,4 +127,4 @@ STATIC_URL = 'static/'
 
 DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
 
-CLIMA_URL = os.getenv("CLIMA_URL")
+CLIMA_URL = os.getenv("CLIMA_URL")