modify analyze.py to show localtime