[[ Bug 12104 ]] Convert command fails with invalid date
Merge pull request #593 from runrevali/bugfix-12104

[[ Bug 12104 ]] Convert command fails with invalid date