mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 20:16:02 +00:00
LibCore: Remove time zone from default format string
The default format string is used in many applications/services like FileManager/FileSystemAccessServer. Showing the time zone in e.g. the last modified time for every file in FileManager is feeling a bit over the top, so let's revert this change and assume the user is smart enough to know what time zone they are in.
This commit is contained in:
parent
5ca1c54c27
commit
9c80430eea
Notes:
sideshowbarker
2024-07-17 20:05:00 +09:00
Author: https://github.com/trflynn89
Commit: 9c80430eea
Pull-request: https://github.com/SerenityOS/serenity/pull/12184
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/linusg ✅
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
bool is_leap_year() const;
|
||||
|
||||
void set_time(int year, int month = 1, int day = 1, int hour = 0, int minute = 0, int second = 0);
|
||||
String to_string(const String& format = "%Y-%m-%d %H:%M:%S %Z") const;
|
||||
String to_string(const String& format = "%Y-%m-%d %H:%M:%S") const;
|
||||
|
||||
static DateTime create(int year, int month = 1, int day = 1, int hour = 0, int minute = 0, int second = 0);
|
||||
static DateTime now();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue