add RFC2822 dates to grants in api, fixes #66