You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't look too closely into this, but I guess some PHP installs figure this out themselves and save it in their php.ini, whereas others don't and give you a warning
So we can add a command to FBCMD to query the user's timezone, and then set that in a preference, and at the start of FBMCD, check if that preference is set, and then set the timezone accordingly... One problem: we don't get the exact timezone from Facebook, only the basic GMT difference, like -7 for me.
Try [fbcmd finfo timezone] to see some different timezones for you & your friends.
So we could use the generic timezone: http://ca3.php.net/manual/en/timezones.others.php so "Etc/GMT-7" for me: but then I'm afraid that come daylight savings time it could screw up. I guess I can do some tests when they change at the end of the month
If you have your warning set high, you'll get:
"date(): It is not safe to rely on the system's timezone settings."
The text was updated successfully, but these errors were encountered: