Timezone different in automation rules

I have openhabian latest running on raspberry pi 3, the time is set correctly as per the timezone selected, which is India. However when I setup an automation trigger the time is differently stored. Any reason why this may happen.


System timezone is one thing which is used partially (its kind of fallback for libraries which are beside openHAB control). Second place where you need to configure timezone is openhab itself. Look at regional settings - make sure system and openHAB are using same zone.

Comment: because openHAB runs under Java, “system” from OH view is about Java locale settings - which may be different from host operating system, depending how you installed Java.
Java time is used or openHAB logging too, so you should see the same discrepancy there.