add date-from-string fn
Fix task-template fn