Timothy Flynn
f070264800
Everywhere: Remove sv
suffix from format string literals
...
This prevents the compile-time checks that would catch errors in the
format invocation (which would usually lead to a runtime crash).
2025-04-08 20:00:18 -04:00
Arhcout
aa82ff8044
LibWeb: Add documentation to the date parser format
...
So we don't have to dig in the parser's code
2025-01-03 11:26:01 +00:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00
Nico Weber
45827cace9
LibCore: Comment that DateTime is in local time.
...
The timestamp is always in UTC, but hours/minutes are in local time.
2020-08-20 20:53:43 +02:00
AnotherTest
d051fffe25
LibCore: Add a primitive comparison function to DateTime
...
This should go away when we get the ability to parse strings to
DateTime's.
2020-05-07 10:23:58 +02:00
rhin123
08a30a4961
LibCore: Moved cal.cpp functions to DateTime
2020-03-18 08:17:01 +01:00
howar6hill
10e0d4a196
LibCore: Add format option for DateTime::to_string() ( #1358 )
2020-03-08 11:35:26 +01:00
Andreas Kling
3866e0d4d4
LibCore: Move LogStream::operator<< overloads into cpp files
2020-02-15 00:58:52 +01:00
Andreas Kling
8f89cc85d1
LibCore: Add DateTime::from_timestamp(time_t)
2020-02-11 19:48:46 +01:00
Andreas Kling
b8cf83926a
LibCore: Add a basic Core::DateTime class
...
This is just to have a pleasant way to print the current time for now:
dbg() << Core::DateTime::now();
Or if you want it as a string:
Core::DateTime::now().to_string();
2020-02-11 19:43:29 +01:00