Is there a way to have a different timezone saved for one website only in Chrome? - timezone

I live in the Eastern timezone, but need to see a site in local time (Central time). Is there a way to permanently set the timezone for a specific website in Chrome?
Thx

Related

Extracting universal time/atomic time in flutter

I am working on a demo app in a flutter in which I want universal date time. I am using DateTime.now() but it's giving me devise date and time. Is there any way to get standard/universal date time(America) irrespective of device date-time setup. I want that date-time fetched offline without any connectivity with the internet.
To get universal time use
DateTime.now().toUtc()
to get local time use
someDate.toLocal()
There is no support to getting DateTime for a specific locale other than the one your device is located in (configured).
There is at least one package in pub.dartlang.org that provides such a feature though.
https://pub.dartlang.org/packages/time_machine looks like it does, but I haven't used it myself yet.

Highcharts set global timezone for all charts

I'm trying to set my timezone for all charts on my webpage to America/New_York.
I tried many things, using timezoneoffset, timezone with moment.js.
Seems like impossible for me for some reason.
Can someone please help me to set the timezone to the timezone I want, instead of using the client's timezone.
Thank you.

Check if date is correct in IOS

Currently, I am grabbing the current date by NSDate().timeIntervalSince1970. However, I am concerned that the user will change the date on the phone to mess with my app. So I was wondering which of the two options below is a more suitable fix
Is there some sort of Apple way to grab the current date from an apple server.
Is there a good and reliable API where I can grab current date?
Use the TIMEAPI available at www.timeapi.org
You can retrieve the current time in UTC here.

How do I get a list of timezone names of a browser

I want to get the browser specific timezone names (different browsers displays different text for each system setting) for system available time zones. I need the exact string of the timezone that are in the "()" when writing console.error(new Date()) but not just for my current settings, without changing my OS settings and restarting the browser each time.
AFAIK js libraries uses their own name lists to solve this but the resulting names are different from the browser timezone name. I need the name as the browser will write it.
Thanks.
It was not possible when the question was asked, but with the Intl.supportedValuesOf it is possible in modern engines:
console.log(Intl.supportedValuesOf('timeZone'));
At the time of this writing, you can ask for "calendar", "collation", "currency","numberingSystem", "timeZone" and "unit".
Intl.supportedValuesOf('timeZone') now provides the list of all available timezones on some browsers, including Safari and Chrome for iOS caniuse.com.

Google Calendar generates incorrect time in xml feed

I'm generating an ICS feed from an exchange server with the timezone set to "UTC Dublin, Edinburgh, Lisbon, London"; I'm then importing this into Google Calendar, which then creates an XML feed which I then import into FullCalendar in my Rails application.
The ICS feed from the exchange server has this:
SUMMARY:Test Event
DTSTART;TZID=GMT Standard Time:20140713T000000
DTEND;TZID=GMT Standard Time:20140719T000000
However the XML feed generated by Google Calendar, is wrong. it shows:
<title type='html'>Y12 Biology Field Trip</title><summary type='html'>When: Sat 12 Jul 2014 23:00 to Fri 18 Jul 2014 23:00&nbsp;
UTC<br>
How do I correct the xml feed created by Google Calendar? It appears it isn't using GMT Daylight saving.
Or, how do I force use of Daylight saving in Google Calendar/FullCalendar?
My 2nd go at this... For me, there is nothing incorrect in the google feed. Google is receiving a time in "GMT Standard Time", an ambiguous time zone which, contrary to what you might expect, may have daylight saving. It then converts this time to UTC (no daylight saving), It does this because UTC is the timezone of the google calendar. Events imported into a google calendar are converted to the time zone of the google calendar. So midnight becomes 11pm.
I don't know fullcalendar, but the google xml feed is not suited for digestion by machines. Event times are mixed up in text descriptions. The timezone information is too short to be definitive. You would be much better sticking with Icalendar for exchanging calendar information. Why can't full calendar handle the Ical feed directly from Exchange? If you persist with google xml, try changing the time zone setting on the google calendar.

Resources