dotnet / dotnet/dotnet-api-docs

"K" format specifier throws exception

Open
#1,057 0 comments 0 reactions 0 assignees View on GitHub
area-System.DateTime dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

Using the "K" format specifier throws a `FormatException`.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: d71e8235-c35e-739e-a9bb-a8de73e26047
* Version Independent ID: 3f619910-4c79-56cc-9cd8-b0b3eec07736
* Content: [DateTimeOffset.ToString Method (System)](https://docs.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tostring?view=netframework-4.7.2)
* Content Source: [xml/System/DateTimeOffset.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/DateTimeOffset.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

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.