Describe the bug
if you have a hijri date and probably any other date system that isnt Gregorian the program wont start
To Reproduce
Steps to reproduce the behavior:
- Go to your windows settings and set your date to hijri(i had it in english not even arabic)
- open your program
- See error
Expected behavior
the program to work without issues regarding dates
ds4windows_log.txt
Screenshots and Logs*
---> System.ArgumentOutOfRangeException: Specified time is not supported in this calendar. It should be between 07/18/0622 00:00:00 (Gregorian date) and 12/31/9999 23:59:59 (Gregorian date), inclusive. (Parameter 'time')
Actual value was 0.
at System.Globalization.HijriCalendar.CheckTicksRange(Int64 ticks)
at System.Globalization.HijriCalendar.GetDatePart(Int64 ticks, Int32 part)
at System.Globalization.HijriCalendar.GetMonth(DateTime time)
at System.DateTimeFormat.FormatCustomized[TChar](DateTime dateTime, ReadOnlySpan1 format, DateTimeFormatInfo dtfi, TimeSpan offset, ValueListBuilder1& result)
at System.DateTimeFormat.Format(DateTime dateTime, String format, IFormatProvider provider, TimeSpan offset)
at System.DateTime.ToString(String format)
Desktop (please complete the following information):
- Controller Make and Model: Sony ps4 controller
- OS: Windows 10 Pro 22h2
- DS4Windows Version 3.9.9
Describe the bug
if you have a hijri date and probably any other date system that isnt Gregorian the program wont start
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the program to work without issues regarding dates
ds4windows_log.txt
Screenshots and Logs*
---> System.ArgumentOutOfRangeException: Specified time is not supported in this calendar. It should be between 07/18/0622 00:00:00 (Gregorian date) and 12/31/9999 23:59:59 (Gregorian date), inclusive. (Parameter 'time')
Actual value was 0.
at System.Globalization.HijriCalendar.CheckTicksRange(Int64 ticks)
at System.Globalization.HijriCalendar.GetDatePart(Int64 ticks, Int32 part)
at System.Globalization.HijriCalendar.GetMonth(DateTime time)
at System.DateTimeFormat.FormatCustomized[TChar](DateTime dateTime, ReadOnlySpan
1 format, DateTimeFormatInfo dtfi, TimeSpan offset, ValueListBuilder1& result)at System.DateTimeFormat.Format(DateTime dateTime, String format, IFormatProvider provider, TimeSpan offset)
at System.DateTime.ToString(String format)
Desktop (please complete the following information):