Skip to content

Conversation

@amos-cha
Copy link
Contributor

Change upload and patch of seriesschedule to TimeOnly

  • Future fix will involve the change of the DB but right now we have propagated data that I can't change yet.

@amos-cha amos-cha self-assigned this Apr 28, 2023
Comment on lines +8 to +12
/// 2000 is a clean turn of the millennium:
/// this datetime falls under:
/// min javascript datetime (1/1/1970)
/// min sql datetime (1/1/1753)
/// min c# datetime (1/1/0001)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why add another date to the existing confusion that you reference? I would choose one of the existing ones and stick with that so that you don't make the problem worse :)

Comment on lines +10 to +11
public TimeOnly? StartDate { get; set; }
public TimeOnly? EndDate { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay so these are timeonly types now but their names are "*Date"? Can you rename the columns/properties pls?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants