dotnet / dotnet/dotnet-api-docs

Fix the docs of DateTimeFormatInfo DayNames and AbbreviatedDayNames remarks section

Open
#3,737 0 comments 0 reactions 0 assignees View on GitHub
area-System.Globalization doc-enhancement Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

The remarks section mentioning

```
If setting this property, the array must be one-dimensional and must have exactly seven elements. The first element (the element at index zero) represents the first day of the week in the calendar defined by the Calendar property.
```

which is not correct. We should clarify that the day names array always starts with Sunday.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.