[vfio-users] Dedicated forum for VFIO @ https://virtualkvm.com

chekwob chekwob at yahoo.com
Mon Sep 14 02:57:43 UTC 2015


You're assuming a given user's local time is set to whatever's on the
NOAA time zone table you've linked.

For me, your iptest.php page is returning this:

> Country Name: United States
> Country Code: US
> Region: New York
> ...
> Remote Time Zone: -04:00
> ...
> Linux Test: -04:0038Linux

But on my own system `date +%:z%V$(uname)` returns this:

> +00:0038Linux

Which is completely different. Because I have my timezone set to UTC,
my local time is UTC. Your registration system doesn't account for this
possibility.

Sure, I could look up the time offset of -04:00 and insert it manually,
but I would never have guessed I needed to do such a thing had I not
seen your email here. I suspect that's going to be a problem for future
members.

On Mon, 14 Sep 2015 04:28:44 +0200
Erik Adler <erik.adler at gmail.com> wrote:

> $ date +%:z will give the numeric time zone. A standard which is the
> number of hours to add to UTC to get local time. The backend is using
> numeric timezone also.
> 
> http://www.esrl.noaa.gov/gmd/grad/solcalc/timezone.html
> 
> True the ip database can fail. I am using the one from this company.
> 
> http://www.ip2location.com/
> 
> Maybe there is something I missed here?
> 
> all the best
> 
> Signature:
> GPG/PGP key ID: 0x2B4B58FE
> gpg --keyserver pgp.mit.edu --recv-keys 0x2B4B58FE
> 
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users




More information about the vfio-users mailing list