Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Values for DateTime properties below SQLDateTime.MinValue cause errors on push

Open
#30 0 comments 0 reactions 1 assignee View on GitHub

@adecler is already working on this.

Since Feb 17, 2023.

Assessment

This issue has not been assessed yet.

Description

type:bug
Description:

When pushing any objects with a DateTime property set to DateTime.MinValue or any value before the SQLDateTime.MinValue of 1/1/1753, the push fails as the DateTime can not be sent to the DB. We should add handling to check for values below the SQL MinValue, and set them to the SQL MinValue accordingly.

Steps to reproduce:

Send object with a DateTime property set to earlier than 1753 to a SQL table for the corresponding object type.

Expected behaviour:

Successful push of the object, with the date set to the SQL MinValue.

Dominant language
C#
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.