Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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') #7002

Closed
curllog opened this issue Jan 11, 2024 · 4 comments
Assignees
Labels
Milestone

Comments

@curllog
Copy link
Contributor

curllog commented Jan 11, 2024

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

@AndreiMaz
Copy link
Member

AndreiMaz commented Jan 15, 2024

@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?

@curllog
Copy link
Contributor Author

curllog commented Jan 15, 2024

@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

@RomanovM
Copy link
Contributor

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

exileDev added a commit that referenced this issue Feb 22, 2024
@exileDev
Copy link
Contributor

Closed #7002 It's been fixed by linq2db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants