fix the global date parsing issue.
Merge pull request #25 from gcheng/global

fix the global date parsing issue.