fixed timestamp encode and decode
added timezone
Merge pull request #4 from barchart/yingjie

Yingjie