##// END OF EJS Templates
timezone: fix issues with timezone detection of current logic....
timezone: fix issues with timezone detection of current logic. - it was reported that in certain timezones e.g `US/Central` the generated offset was +19:00 which is incorrect and should be -05:00. - we now use a special library for detection of local timezone and use logic of pytz to calculate the offset - fixes #5371

File last commit:

r1:854a839a default
r2676:7fe5f77f default
Show More
svn_pre_commit_hook.py.tmpl
19 lines | 254 B | application/x-cheetah | CheetahLexer
#!_ENV_
import os
import sys
RC_HOOK_VER = '_TMPL_'
def main():
if os.environ.get('SSH_READ_ONLY') == '1':
sys.stderr.write('Only read-only access is allowed')
sys.exit(1)
sys.exit(0)
if __name__ == '__main__':
main()