ddl: switch from datetime to date after entitlement API changes

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>