blob: 705a410fbb41165a6a1c10612f8750cd9b33397b [file] [log] [blame]
// Copyright (C) 2022 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-temporal.now.plaindateiso
description: Functions when time zone argument is omitted
features: [Temporal]
---*/
const d = Temporal.Now.plainDateISO();
assert(d instanceof Temporal.PlainDate);
assert.sameValue(d.calendar.id, "iso8601");