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
In OpenWrt I have a device where /etc/localtime is a symlink pointing to /tmp/localtime which consequently points to the right timezone.
Maybe you could put os.ReadLink into a loop (with a map memory to detect infinite loop). And/or (possibly at each step) check if the first letter of each continent/place is actually with an uppercase letter, which must be true for a timezone.
Current behavior is to simply return "tmp/localtime" which is incorrect.
The text was updated successfully, but these errors were encountered:
In OpenWrt I have a device where
/etc/localtime
is a symlink pointing to/tmp/localtime
which consequently points to the right timezone.Maybe you could put os.ReadLink into a loop (with a map memory to detect infinite loop). And/or (possibly at each step) check if the first letter of each continent/place is actually with an uppercase letter, which must be true for a timezone.
Current behavior is to simply return "tmp/localtime" which is incorrect.
The text was updated successfully, but these errors were encountered: