Unity-Technologies / com.unity.mobile.notifications

Mobile Notifications Package
https://docs.unity3d.com/Packages/com.unity.mobile.notifications@2.1/manual/index.html
Other
131 stars 42 forks source link

Maintain time type when querying #204

Closed aurimasc closed 2 years ago

aurimasc commented 2 years ago

When using Calendar trigger we use UTC time internally. However, because C# DateTime ignores kind when doing comparisons, you may run into issues if setting trigger using local time and later query it. This PR makes time kind to be preserved (still use UTC internally).