Allow Date and Date-like values

_sanitizeValue and _formatValue should support any Date like object that can toUTCString itself correctly, test included.