Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#30 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@adecler ci sta già lavorando.

Dal 17/2/2023.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
C#
Stelle
1
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.