Fixed #80 Error when updating post with non US locales.

Thank you @kalipka for the solution. Closes #183