mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:37:35 +00:00
LibCore: Make FreeBSD build SerenityOS
This commit is contained in:
parent
4f716caa33
commit
41765895a8
2 changed files with 7 additions and 0 deletions
|
@ -106,7 +106,11 @@ String DateTime::to_string(StringView format) const
|
|||
const int format_len = format.length();
|
||||
|
||||
auto format_time_zone_offset = [&](bool with_separator) {
|
||||
#ifndef __FreeBSD__
|
||||
auto offset_seconds = -timezone;
|
||||
#else
|
||||
auto offset_seconds = 0;
|
||||
#endif
|
||||
StringView offset_sign;
|
||||
|
||||
if (offset_seconds >= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue