Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
anoopmb
/
frappe
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
added whitelisted function get_time_zone (
#3843
)
version-14
Revant Nandgaonkar
hace 8 años
committed by
Rushabh Mehta
padre
b1b71a6bb9
commit
f8387ac039
Se han
modificado 1 ficheros
con
5 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+5
-0
frappe/client.py
+ 5
- 0
frappe/client.py
Ver fichero
@@ -296,3 +296,8 @@ def get_js(items):
out.append(code)
return out
@frappe.whitelist(allow_guest=True)
def get_time_zone():
'''Returns default time zone'''
return {"time_zone": frappe.defaults.get_defaults().get("time_zone")}
Escribir
Vista previa
Cargando…
Cancelar
Guardar