-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time setting does not work in Image v14.2 #354
Comments
I'll need to add a timezone selector too I think - thanks for the report. Do you concur that's the right way to handle this @mcguirepr89? |
@ehpersonal38 why yes! I do believe it is the best option. I apologize that I've not been addressing the feedback from the new image just yet -- I have a lot of thoughts, though -- for this, let's utilize the filesystem's tz options:
symlinking any of those to
I will follow up on this and the other feedback tomorrow for certain! Thanks so much! |
Sounds good ! Thanks for the quick response! For me, a |
I have to be more precise:
|
Thanks for the clarification ~~ |
@mcguirepr89 Do you know any neat ways (like with grep, sed, awk, etc) to format the above list of timezones into something like:
If that's not easily achievable, I will make the suggestion that we just use PHP's inbuilt list of timezones that already come as an array, and I believe are mostly identical to the ones above. Let me know how you'd like to proceed! |
I'm tinkering with that now and will let you know -- how might I go about seeing the exhaustive list of PHP inbuilt TZ options? I'd like to compare the list |
Okay I've pushed what I have so far to timezone-testy, feel free to make changes as you see fit |
this looks reallllllly good to me -- I'm going to test it out a bunch and will let you know, but this looks like what I had in mind. Folks interested in setting the TZ to anything outside of those options will be directed to do so using the appropriate tools, i.e., handling the symlinks themselves or manually setting things using 😍 |
All my tests are working just as expected 👍 |
Woohoo! One thing I noticed is that after you change the timezone, the time right above doesn't change to the correct time until I forcefully |
I think that PHP will be sending the request to restart PHP, so it may not work the way you have in mind? Worth a shot, though? |
Okay that took wayyy too long to do, but I'm pretty sure it's working now |
Awesome! I'll be adding this to the next image v14.3 as a bug fix along with a few other small changes. Thank you for the great work as always! |
Pulled into @DD4WH if you want to update the image and test it out, let me know if things are smoother. I'll put together a v14.3 for the image next week for another round of testing! I'll close this as an issue since the fix is in My best! |
In the latest version (Image 14.2) the setting of time does not work:
retrieve time from internet
box), the Pi still uses time stamps from some US time zoneThe text was updated successfully, but these errors were encountered: