News for hackers. Stuff that matters.
Re:Show HN: An easy way to convert time by avg_dev on Thursday June 29, 2017 @03:37PM (#14666225)
Neat site. How does it know my local time?
Re:Show HN: An easy way to convert time by leovander on Thursday June 29, 2017 @04:36PM (#14666659)
Looking at the response headers, could they be inferring the timezone based on what cloud front server the user hits?

Edit: This is probably way over thinking it, but here are the Amazon data center IP's. Search "CLOUDFRONT" https://ip-ranges.amazonaws.com/ip-ranges.json to see the list of regions.

Re:Show HN: An easy way to convert time by Falling3 on Thursday June 29, 2017 @04:37PM (#14666670)
IP geolocation - try it from a proxy.
Re:Show HN: An easy way to convert time by Prefinem on Thursday June 29, 2017 @04:58PM (#14666828)
Geo lookup on your IP to get a time zone. Easy to spoof with a proxy / vpn.
Re:Show HN: An easy way to convert time by edpichler on Thursday June 29, 2017 @03:48PM (#14666309)
Getting of your browser?
Re:Show HN: An easy way to convert time by avg_dev on Thursday June 29, 2017 @03:52PM (#14666340)
Yes - but how? I looked at the HTTP headers I was sending and none of them contained the time zone.
Re:Show HN: An easy way to convert time by hakanito on Thursday June 29, 2017 @04:01PM (#14666400)
Open your console and type `new Date()`. In JS every date is local time by default
Re:Show HN: An easy way to convert time by avg_dev on Thursday June 29, 2017 @04:02PM (#14666408)
Sure, but there is no JS on the page, and curling https://api.epoch.sh gives the same result.
Re:Show HN: An easy way to convert time by secstate on Thursday June 29, 2017 @04:07PM (#14666456)
IP sniffing?