Ensure source object is date object

Also use built-in slugify