Fixed date serialization to be compliant with RFC 3389