add date support to context