Use datetime for updated and published attributes.