fix local declaration
Merge pull request #99 from catwell/fix-local-time

fix local declaration