1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:27:35 +00:00

LibJS: Rename Temporal.now => Temporal.Now

See:

- d0acb66
- 0097fdd
This commit is contained in:
Linus Groh 2021-07-19 00:25:22 +01:00
parent d159938acc
commit 5516ad7158
3 changed files with 5 additions and 4 deletions

View file

@ -27,7 +27,7 @@ void Temporal::initialize(GlobalObject& global_object)
auto& vm = this->vm();
u8 attr = Attribute::Writable | Attribute::Configurable;
define_direct_property(vm.names.now, heap().allocate<Now>(global_object, global_object), attr);
define_direct_property(vm.names.Now, heap().allocate<Now>(global_object, global_object), attr);
define_direct_property(vm.names.Calendar, global_object.temporal_calendar_constructor(), attr);
define_direct_property(vm.names.Duration, global_object.temporal_duration_constructor(), attr);
define_direct_property(vm.names.Instant, global_object.temporal_instant_constructor(), attr);