nopCommerce icon indicating copy to clipboard operation
nopCommerce copied to clipboard

ArgumentOutOfRangeException: Specified time is not supported in this calendar. It should be between 0001/1/1 0:00:00 (Gregorian date) and 9378/10/13 23:59:59 (Gregorian date), inclusive. (Parameter 'time')

Open curllog opened this issue 5 months ago • 3 comments

nopCommerce version: 4.70

Start Fresh Choose Iran as country Choose mysql or sqlserver (not tested on postgres) After installation open the site wait 1 minutes or more open new link or refresh the page

We will get this error:

ArgumentOutOfRangeException: Specified time is not supported in this calendar. It should be between 0001/1/1 0:00:00 (Gregorian date) and 9378/10/13 23:59:59 (Gregorian date), inclusive. (Parameter 'time') Actual value was 50284592391540000.

image

curllog avatar Jan 11 '24 18:01 curllog

@curllog

  1. What OS are you using?
  2. What are your regional settings (country, calendar, etc) in your OS?
  3. Are you experiencing it in previous versions of nopCommerce? For example, 4.60 or 4.50?

AndreiMaz avatar Jan 15 '24 07:01 AndreiMaz

@AndreiMaz my os is win11 and my region is Iran, date time is persian date time.

No with other versions I didn't have this problem

curllog avatar Jan 15 '24 09:01 curllog

@exileDev See also this topic on our forums, perhaps it is related.

RomanovM avatar Jan 24 '24 14:01 RomanovM

Closed #7002 It's been fixed by linq2db

exileDev avatar Feb 22 '24 12:02 exileDev