The day name does match the date properly for the year 1752 and before.

Hi, I'm using SfDateTimeEdit control to go to dates before 1753, I am able to go, however, the days don't match the date properly. The reason for this I understand is because of the switch from Julian calendar to Gregorian calendar in Sept 1752. It looks like syncfusion is not accommodating this change properly. This is causing the days to not match with the date.

See here:  Calendar Reform in England, 1752 (adsb.co.uk) and here:  Julian to Gregorian Calendar: How We Lost 10 Days (timeanddate.com)

The month of September should only have two and half weeks. See here:  Year 1752 Calendar – United Kingdom (timeanddate.com)

If this is done then the day and date should match.


Thanks.


6 Replies

BA BagavathiPerumal Apranandham Syncfusion Team May 17, 2023 03:28 PM UTC

Hi HP,


There are different calendar systems associated with diverse cultures. In our SfDateTimeEdit control, we have followed the same method used in DateTime for handling dates. The day value displayed in the SfDateTimePicker for the date 13th September 2023 is accurate. Please refer to the attached images for visual confirmation. The image demonstrates that the day of the week for 13th September 2023 matches the displayed day value (Wednesday) in the SfDateTimePicker.

Additionally, it can be observed that 10th September 2023 is Sunday, which is the same as the day displayed in the SfDateTimeEdit control. If you wish to limit selectable dates, we recommend utilizing the MinDate property of the SfDateTimeEdit control.



Regards,

Bagavathi Perumal A


Attachment: SfDateTimeEdit(WF)_c184363d.zip


HP H P May 18, 2023 06:29 PM UTC

Hi, the correct layout for Sept 1752 is:


Year 1752 Calendar – United Kingdom (timeanddate.com)


Thus, any dates prior to this will be affected if this switch is not done correctly.


Regards.



BA BagavathiPerumal Apranandham Syncfusion Team May 22, 2023 03:29 PM UTC

Hi HP,



Currently, the SfDateTimePicker is displayed in the Gregorian calendar, it does not have built-in support for the Julian calendar, resulting in the display of September 1752 on the calendar.




Regards,
Bagavathi Perumal A



HP H P May 22, 2023 04:11 PM UTC

Thanks for the response.

As a feature request can you please add support for this, as the Gregorian calendar was only adopted from the year 1582 onwards, in different countries at different times. So prior to this it was the Julian calendar, there was no Gregorian date, so in a way it will also be technically incorrect to give a Gregorian date before this point.


Maybe you can give multiple calendar options:

- only Gregorian

- Gregorian & Julian (with an option to set the switch date, default: Sept 1752 - UK/USA switch date) 

- only Julian calendar

- hijri calendar


Thanks



BA BagavathiPerumal Apranandham Syncfusion Team May 23, 2023 02:05 PM UTC

Hi HP,


We have considered your requirement as a feature request "Support to provide a multiple calendar option for SfDateTimeEdit". We will share the feature report regarding this shortly.



Regards,
Bagavathi Perumal A



BA BagavathiPerumal Apranandham Syncfusion Team May 24, 2023 05:27 PM UTC

Hi HP,



We regret to inform you that currently, we don’t have support for multiple calendar option in SfDateTimeEdit.


We have analyzed your requirement of “Support to provide a multiple calendar option for SfDateTimeEdit”. We have logged a feature request for the same. We will implement this feature in any of our upcoming releases.


At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then.   


Thank you for requesting this feature and helping us define it. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts.   


Feedback link:
Support to provide a multiple calendar option for SfDateTimeEdit in WinForms | Feedback Portal (syncfusion.com)


If you have any more specifications/suggestions to the feature request, you can add it as a comment in the portal and cast your vote to make it count.




Regards,

Bagavathi Perumal A


Loader.
Up arrow icon