Time Zone is incorrect for Iran new no DST time zone
This month we have time zone change in our local time. I replace tzdata and system and any app I know is showing time correctly (also date command in terminal does that). But BCR show both time and timezone incorrectly (it shows previsions timezone). I wonder this is a bug or Android needs some patches that I'm missing it?
More info:
- Android : 9 MIUI 11.0.11
- Magisk : 25.3
- Region: Iran
- System TimeZone : 03:30
- BCR Timezone : 04:30
Hmm, I'm not sure what would cause this. BCR just uses the standard DateTimeFormatterBuilder API to create the timestamp. As far as I'm aware, that should respect the system's tzdata like everything else.
Hmm, I'm not sure what would cause this. BCR just uses the standard
DateTimeFormatterBuilderAPI to create the timestamp. As far as I'm aware, that should respect the system's tzdata like everything else.
Is there any any other way to system check system time zone as a reference?
Terminal date and system ui are showing correct time zone (03:30). But there is another app named time zone converter that show it wrong!
I'm not familiar with Android's timezone internals at all, but I did some searching and it seems there are two timezone databases:
- The regular tzdata used by CLI commands and system components:
/system/usr/share/zoneinfo/* - The ICU tzdata used by APIs that are aware of internationalization:
/system/usr/icu/*.dat
Do you know if both of those are being updated? If so, I'm not sure what else might be wrong.
I'm not familiar with Android's timezone internals at all, but I did some searching and it seems there are two timezone databases:
- The regular tzdata used by CLI commands and system components:
/system/usr/share/zoneinfo/*- The ICU tzdata used by APIs that are aware of internationalization:
/system/usr/icu/*.datDo you know if both of those are being updated? If so, I'm not sure what else might be wrong.
I can't replace icu files they are not available from android tzdata repo and they seems to be ROM dependent and I didn't find any instruction about building icu file (icudt60i.dat) for MIUI 11.