I am using moment.js library in my ionic application. And I have observed when I am executing moment().format() on Android 8.0 devices or in iOS devices, it is working fine and printing the date time in local timezone. Also, it is changing when I am changing timezone of the device.
But when I am executing the same line in Android 7.0 devices, it is not working as expected and printing the date time in old time zone?
Please provide your help and guide through If any additional settings/configuration needed.
Please let me know if additional details needed. Thanks in advance.