While you're here, please consider supporting GamingOnLinux on:
Reward Tiers:
Patreon. Plain Donations:
PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers:
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Oh dear - ARC Raiders was logging your private Discord chats [updated]
- Many more US states are planning or already have operating system age verification laws
- Xbox "Project Helix" confirmed to run Xbox and PC games - competition for the Steam Machine
- Transport Fever 3 confirmed for Linux and macOS support
- Slay the Spire 2 is out now in Early Access with online co-op
- > See more over 30 days here
Recently Updated
- Recommendations for portable monitor for Steam Deck?
- childermass - Shop Crush - Psychological Horror Thrift Sim with Literal Illusio…
- hollowlimb - Introduce Yourself!
- hollowlimb - Proton/Wine Games Locking Up
- Caldathras - recently released super fun crpg - Sector Unknown
- Jarmer - See more posts
How to setup OpenMW for modern Morrowind on Linux / SteamOS and Steam Deck
How to install Hollow Knight: Silksong mods on Linux, SteamOS and Steam Deck
Details here: https://gitlab.com/liamdawe/gamingonlinux/issues/379
Last edited by GamingOnLinux Bot on 7 Dec 2019 at 10:54 am UTC
*snip* - plz, no - liam
Last edited by GamingOnLinux Bot on 8 Dec 2019 at 8:37 pm UTC
As a sidenote, it looks like your cake day code doesn't account for February 29th accounts on non-leap years. I think changing line 577 to this would handle it on March 1st but I'm a bit rusty:
if ((($reg_month == date('m') && $reg_day == date('d')) || ($reg_month == "02" && $reg_day == "29" && date('m') == "03" && date('d') == "01")) && $reg_year != date('Y'))Hmmm, odd, never even though of that. Don't see why it wouldn't work though, it's doing a real basic comparison directly against a timestamp parsed with PHP's date.
EDIT: Switched over the cake-day comparison to use PHP's DATETIME diff, should solve any leap year stuff and works nicer anyway.
Last edited by GamingOnLinux Bot on 8 Dec 2019 at 8:33 pm UTC