Accept 'date' when creating moment with object

Fixes #1927