chmouel,
@chmouel@fosstodon.org avatar

reading the tzselect shell script from the tzdata, there is a nice flag called -c to specify coordinates, the way the script does gps coordinates to timezones in awk is pretty impressive!

so if you travel a lot and have no idea where you are located and want to set your timezone quite easily you can do something like this to approximately know where you are (it's useless i know, just interesting):

tzselect -c $(curl -s ipinfo.io|jq -r .loc| tr , -)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Bash
  • tacticalgear
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • mdbf
  • love
  • kavyap
  • Durango
  • khanakhh
  • modclub
  • provamag3
  • ngwrru68w68
  • osvaldo12
  • cisconetworking
  • rosin
  • ethstaker
  • GTA5RPClips
  • cubers
  • anitta
  • tester
  • Leos
  • normalnudes
  • megavids
  • JUstTest
  • All magazines