Bug fix for activity submission.
Fixed cross-browser date parsing issue.