Merge pull request #24 from gcheng/global

throw exception when you create or update null message.
fix the global date parsing issue.