Simplify date formats alterations (sql <> html)