TimeZones: fix utc test (#21393)

This commit is contained in:
Ryan McKinley 2020-01-07 14:01:06 -08:00 committed by GitHub
parent 1c71637d11
commit f7053e19d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ describe('date time formats', () => {
it('should format as iso date (in UTC)', () => {
const expected = utcTime.format('YYYY-MM-DD HH:mm:ss');
const actual = dateTimeAsIso(epoch, 0, 0);
const actual = dateTimeAsIso(epoch, 0, 0, 'utc');
expect(actual.text).toBe(expected);
});