Skip to content

Comments

Docs: Update CsvProvider and JsonProvider for DateOnly/TimeOnly inference#1610

Merged
dsyme merged 2 commits intorepo-assist/feature-dateonly-timeonly-1461-03f39b53850547dbfrom
copilot/sub-pr-1609
Feb 22, 2026
Merged

Docs: Update CsvProvider and JsonProvider for DateOnly/TimeOnly inference#1610
dsyme merged 2 commits intorepo-assist/feature-dateonly-timeonly-1461-03f39b53850547dbfrom
copilot/sub-pr-1609

Conversation

Copy link
Contributor

Copilot AI commented Feb 22, 2026

The CSV and JSON provider documentation did not reflect the DateOnly/TimeOnly inference support added in #1609.

CsvProvider.fsx

  • MSFT.csv example: Updated Date column type description from DateTimeDateOnly (on .NET 6+)
  • Inference section: Added paragraph noting that date-only strings auto-infer as DateOnly on .NET 6+; TimeOnly is never auto-inferred (ambiguous with TimeSpan) and requires explicit annotation
  • Nullable types: Updated to include DateOnly (nullable) and DateTimeOffset (optional)
  • Valid type list: Added dateonly, dateonly?, dateonly option, timeonly, timeonly?, timeonly option (.NET 6+ only)
  • New subsection: "DateOnly and TimeOnly (on .NET 6+)" with a schema example:
EventDate,Duration (timeonly?)
2023-06-01,08:30:00
2023-06-02,

EventDate is auto-inferred as DateOnly; Duration requires the explicit timeonly? annotation.

JsonProvider.fsx

  • Added "Inferring date types" subsection: date-only strings (e.g. "2023-01-15") infer as DateOnly on .NET 6+; full datetime strings remain DateTime.

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: dsyme <7204669+dsyme@users.noreply.github.com>
Copilot AI changed the title [WIP] Update documentation and samples for DateOnly/TimeOnly inference Docs: Update CsvProvider and JsonProvider for DateOnly/TimeOnly inference Feb 22, 2026
@dsyme dsyme marked this pull request as ready for review February 22, 2026 12:09
@dsyme dsyme merged commit 15de10c into repo-assist/feature-dateonly-timeonly-1461-03f39b53850547db Feb 22, 2026
@dsyme dsyme deleted the copilot/sub-pr-1609 branch February 22, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants