Merge pull request #23 from ledgersmb/1.4

sync over 1.4 branch
Fix #1166: Dates incorrectly showed in the web output (correctly in DB).
(grafted from b6eea202e7e1c7b42436a8b56cc62f9919e61706)

--HG--
extra : source : b6eea202e7e1c7b42436a8b56cc62f9919e61706
Merge pull request #102 from ehuelsmann/1.4-ticket-1166

1.4 ticket 1166