Changed date serialization

Fixes #1346

Line 504 is the key.

Ctrl+K+D seems to have fooked the serializer file