mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 10:40:39 +09:00
Kernel: Fix wrong calculation of current Unix timestamp.
This commit is contained in:
parent
9b71307d49
commit
fad69464f6
Notes:
sideshowbarker
2024-07-19 15:40:26 +09:00
Author: https://github.com/awesomekling
Commit: fad69464f6
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ time_t now()
|
|||
|
||||
return days_in_years_since_epoch(year - 1) * 86400
|
||||
+ days_in_months_since_start_of_year(month - 1, year) * 86400
|
||||
+ day * 86400
|
||||
+ (day - 1) * 86400
|
||||
+ hour * 3600
|
||||
+ minute * 60
|
||||
+ second;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue