expo-localization doesnt return timezone

Please provide the following:

  1. SDK Version:43
  2. Platforms(Android/iOS/web/all): Android

Im trying to get the device’s timezone, but when I use

import * as Localization from "expo-localization";
....
console.log(Localization.timezone);

It prints “GMT”, instead of an actual timezone ex. “'America/Los_Angeles”. For now i’ve tried this only on a simulator.

Hey @georgipavlov,

I’m not able to reproduce this on either an Android emulator or an Android physical device. Can you let me know the emulator and relevant version numbers you are running?

Cheers,
Adam

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.