[fedocal] master: We need a date not a datetime for these functions (15ed0fc)