ticket:6 fix widget default date
ticket:6 widget template: add date formatter
ticket:6 add unit tests for widget
ticket:6 tests: add check for both args types