FEED timezone

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
amitc
 
Posts: 3
Joined: Thu Apr 22, 2021 5:13 pm

FEED timezone

Post by amitc »

when i download the feed data, it gived the timezone UTC. Can we change timezone or it is by default in UTC?

User avatar
eherrada
 
Posts: 161
Joined: Thu Jan 04, 2018 4:59 pm

Re: FEED timezone

Post by eherrada »

So the MQTT API only returns the UTC timezone. If you want to have it return your current timezone, you can use the HTTP API or convert it with the datetime library.

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”