Issue #2244 finally fixed

Main problem was this line:
```
context.content.get(key)|date('Y-m-d H:i:s'),
```
which should have been
```
context.content.get(key)|date('Y-m-d'),
```
Looks like the date is saved correct as date (without time) even inside SQlite db. Please test on MySQL/Postgres.