Validate timestamp format on change

Fixes #155