Bug 773271 (DateType)

Rebased and updated from https://github.com/mozilla/gcli/pull/63