CandidateExplorer / config /get_config.py
ishaq101's picture
clean init
478dec6
raw
history blame contribute delete
289 Bytes
import pytz
from sqlalchemy import func
class Config:
@property
def tzinfo(self):
tzinfo = pytz.timezone('Asia/Jakarta')
return tzinfo
@property
def JAKARTA_NOW(self):
return func.timezone("Asia/Jakarta", func.now())
master_config = Config()