For #36 - rollback transaction on IOException
For #36 - added second date format without millis