Bug 497831 - Can't change the date of a transaction with certain locales

This patch fixes the issue for the cs_CZ locale.