Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/a/b/abilian-core-0.1.4/abilian/core/util.py   abilian-core(Download)
import re
 
from babel.dates import LOCALTZ
from werkzeug.local import LocalProxy
 
  if not dt.tzinfo:
    dt = dt.replace(tzinfo=pytz.utc)
  return dt.astimezone(LOCALTZ)
 
 

src/a/b/abilian-core-0.1.4/abilian/app.py   abilian-core(Download)
 
from werkzeug.datastructures import ImmutableDict
from babel.dates import LOCALTZ
import jinja2
from flask import (
def get_timezone():
  return LOCALTZ