You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My machine's timezone is Africa/Cairo
And there is daylight saving happen in Africa/Cairo in this window of dates
offset was +3 in 2023-10-26 and +2 in 2023-10-27
construle=newRRule({dtstart: datetime(2023,10,25),until: datetime(2023,10,29),interval: 1,freq: RRule.DAILY,tzid: 'Asia/Dubai',// i set it to Asia/Dubai (offset is +4)// if i set it to Africa/Cairo it will return date in UTCbyhour: 9,});console.log(rule.all());
I set the tzid to 'Asia/Dubai'. but it takes a weird timezone instead of the one I have given in tzid!
And if i set it to Africa/Cairo it will return date in UTC
Reporting an issue
My machine's timezone is Africa/Cairo
And there is daylight saving happen in Africa/Cairo in this window of dates
offset was +3 in 2023-10-26 and +2 in 2023-10-27
Actually:
Expected:
I set the
tzid
to'Asia/Dubai'
. but it takes a weird timezone instead of the one I have given intzid
!And if i set it to
Africa/Cairo
it will return date inUTC
Actually:
Expected:
rrule
version 2.8.1OS: Windows 11
My local timezone is Africa/Cairo
Verify that you've looked through existing issues for duplicates before
creating a new one
Code sample reproducing the issue. Be sure to include all input values you
are using such as the exact RRule string and dates.
Expected output
Actual output
The version of
rrule
you are using:Your operating system
Your local timezone (run
$ date
from the command lineof the machine showing the bug)
The text was updated successfully, but these errors were encountered: