Added configurable formats for QDate and QDateTime representation.

Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>