list: fix wrong filter assignment

Assigning it when it is not constructed is a very bad idea.
sql: minor indenting fix
datetime: implemented parsing from formatted string
manager: fixed wrong filter assignment
local-source: implemented task retrieval, counting, and many others