mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:28:13 +00:00
Userland: Remove remaining users of Duration::now_realtime()
This is a clear sign that they want to use a UnixDateTime instead. This also adds support for placing durations and date times into SQL databases via their millisecond offset to UTC.
This commit is contained in:
parent
82c681e44b
commit
effcd080ca
16 changed files with 62 additions and 45 deletions
|
@ -1651,7 +1651,7 @@ void Document::completely_finish_loading()
|
|||
VERIFY(browsing_context());
|
||||
|
||||
// 2. Set document's completely loaded time to the current time.
|
||||
m_completely_loaded_time = AK::Duration::now_realtime();
|
||||
m_completely_loaded_time = AK::UnixDateTime::now();
|
||||
|
||||
// 3. Let container be document's browsing context's container.
|
||||
auto container = JS::make_handle(browsing_context()->container());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue