fix year representation in datetime string