Version bump to 0.3.1
Fix time output
Regenerate gemspec for version 0.3.1