logback-android icon indicating copy to clipboard operation
logback-android copied to clipboard

Dont set GMT+0 timezone in RollingCalendar if no timezone is given (fixes #213)

Open veN1337 opened this issue 4 years ago • 4 comments

Setting the timezone to GMT(+0) if no timezone is given, leads to daily rollover at midnight GMT+0 instead of midnight of the systems timezone. Calling the default super contructor of GregorianCalendar instead of the one with a TimeZone parameter uses the systems default timezone and locale. This fixes https://github.com/tony19/logback-android/issues/213 and reverts commit https://github.com/tony19/logback-android/commit/446eb7ca7ba07f97712d79afbddd89bed8030c6c

veN1337 avatar Sep 15 '20 11:09 veN1337

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for reporting the issue.

stale[bot] avatar Dec 19 '20 08:12 stale[bot]

Not stale.

veN1337 avatar Dec 19 '20 10:12 veN1337

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for reporting the issue.

stale[bot] avatar Jun 11 '21 02:06 stale[bot]

Not stale.

veN1337 avatar Jun 11 '21 07:06 veN1337