<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yuzu/src/common/time_zone.cpp, branch main</title>
<subtitle>Nintendo Switch emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/'/>
<entry>
<title>Rework time service to fix time passing offline.</title>
<updated>2024-01-24T04:26:55+00:00</updated>
<author>
<name>Kelebek1</name>
<email>eeeedddccc@hotmail.co.uk</email>
</author>
<published>2023-10-29T13:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=e4915fb7d2077584a11a15141bc81d28ed2b0125'/>
<id>e4915fb7d2077584a11a15141bc81d28ed2b0125</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>time_zone: Clean up includes</title>
<updated>2023-07-12T07:03:03+00:00</updated>
<author>
<name>lat9nq</name>
<email>22451773+lat9nq@users.noreply.github.com</email>
</author>
<published>2023-07-12T07:03:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=63a0a1f826e7d7582025fb1550b2c4034bd45b48'/>
<id>63a0a1f826e7d7582025fb1550b2c4034bd45b48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>time_zone: Swap subtraction order</title>
<updated>2023-07-12T07:02:45+00:00</updated>
<author>
<name>lat9nq</name>
<email>22451773+lat9nq@users.noreply.github.com</email>
</author>
<published>2023-07-12T07:02:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=9e0d6f7d546fba694d0f87864d508faeca64c3e1'/>
<id>9e0d6f7d546fba694d0f87864d508faeca64c3e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>time_zone: Account for leap years</title>
<updated>2023-07-12T06:34:02+00:00</updated>
<author>
<name>lat9nq</name>
<email>22451773+lat9nq@users.noreply.github.com</email>
</author>
<published>2023-07-12T06:34:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=13755c09036aefe9209360bf0a94c3e2a83e12b8'/>
<id>13755c09036aefe9209360bf0a94c3e2a83e12b8</id>
<content type='text'>
Protects against invalid hour offsets during transitions to years
following leap years.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Protects against invalid hour offsets during transitions to years
following leap years.
</pre>
</div>
</content>
</entry>
<entry>
<title>time_zone: Remove string ops for determing zone</title>
<updated>2023-07-10T21:51:34+00:00</updated>
<author>
<name>lat9nq</name>
<email>22451773+lat9nq@users.noreply.github.com</email>
</author>
<published>2023-07-10T21:51:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=90d76333da843f7058ff527bae0bdceaa1d3cd69'/>
<id>90d76333da843f7058ff527bae0bdceaa1d3cd69</id>
<content type='text'>
MinGW's strftime implementation does not work and cannot be used to
determine the time zone. Besides that, the string operations are
actually unnecessary since we can get the offset from
std::localtime.

Compare localtime to gmtime to find the zone offset on all platforms.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MinGW's strftime implementation does not work and cannot be used to
determine the time zone. Besides that, the string operations are
actually unnecessary since we can get the offset from
std::localtime.

Compare localtime to gmtime to find the zone offset on all platforms.
</pre>
</div>
</content>
</entry>
<entry>
<title>time_zone: Handle offset time zones</title>
<updated>2023-06-05T19:15:23+00:00</updated>
<author>
<name>lat9nq</name>
<email>22451773+lat9nq@users.noreply.github.com</email>
</author>
<published>2023-06-03T21:06:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=de1fe66d816f1d28fb7c24cab53961bccd4b3da1'/>
<id>de1fe66d816f1d28fb7c24cab53961bccd4b3da1</id>
<content type='text'>
time_zone: Remove maybe_unused

time_zone: Use s64 storages

time_zone: Catch by reference
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
time_zone: Remove maybe_unused

time_zone: Use s64 storages

time_zone: Catch by reference
</pre>
</div>
</content>
</entry>
<entry>
<title>common: Move system time zone string detection</title>
<updated>2023-06-05T19:15:11+00:00</updated>
<author>
<name>lat9nq</name>
<email>22451773+lat9nq@users.noreply.github.com</email>
</author>
<published>2023-05-23T22:32:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=3979c7daa478199cff7bc985fceabcf30fadbc3b'/>
<id>3979c7daa478199cff7bc985fceabcf30fadbc3b</id>
<content type='text'>
Moves it from Settings to Common::TimeZone, since this algorithm doesn't
depend on the setting. It also lets us use it in other libraries.

common: Various fixes

time_zone: Don't double up the std::abs

Too many absolute values were causing mirrored time zones to resolve
as the same.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Moves it from Settings to Common::TimeZone, since this algorithm doesn't
depend on the setting. It also lets us use it in other libraries.

common: Various fixes

time_zone: Don't double up the std::abs

Too many absolute values were causing mirrored time zones to resolve
as the same.
</pre>
</div>
</content>
</entry>
<entry>
<title>general: Convert source file copyright comments over to SPDX</title>
<updated>2022-04-23T09:55:32+00:00</updated>
<author>
<name>Morph</name>
<email>39850852+Morph1984@users.noreply.github.com</email>
</author>
<published>2022-04-23T08:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=99ceb03a1cfcf35968cab589ea188a8c406cda52'/>
<id>99ceb03a1cfcf35968cab589ea188a8c406cda52</id>
<content type='text'>
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "common/time_zone: Simplify GetOsTimeZoneOffset()"</title>
<updated>2020-08-19T22:27:31+00:00</updated>
<author>
<name>bunnei</name>
<email>bunneidev@gmail.com</email>
</author>
<published>2020-08-19T22:27:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=acbae572d32b80fd90c9a3465cc88fd72a51f36a'/>
<id>acbae572d32b80fd90c9a3465cc88fd72a51f36a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>common/time_zone: Simplify GetOsTimeZoneOffset()</title>
<updated>2020-08-16T07:58:47+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2020-08-15T16:52:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/yuzu/commit/?id=fe97d3415643eb4e542637b7deeff4c5784494f7'/>
<id>fe97d3415643eb4e542637b7deeff4c5784494f7</id>
<content type='text'>
We can simplify this function down into a single line with the use of
fmt. A benefit with the fmt approach is that the fmt variant of
localtime is thread-safe as well, making GetOsTimeZoneOffset()
thread-safe as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can simplify this function down into a single line with the use of
fmt. A benefit with the fmt approach is that the fmt variant of
localtime is thread-safe as well, making GetOsTimeZoneOffset()
thread-safe as well.
</pre>
</div>
</content>
</entry>
</feed>
