From edd3535119bfb496fc193331fc7645272a20bea6 Mon Sep 17 00:00:00 2001 From: Kristian Thaulow Date: Sun, 16 Sep 2018 15:59:54 +0200 Subject: [PATCH] Update AN0007.md --- docs/AN0007.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/AN0007.md b/docs/AN0007.md index 41c1c84..439493b 100644 --- a/docs/AN0007.md +++ b/docs/AN0007.md @@ -11,11 +11,11 @@ ### Code with Diagnostic ```csharp -string date = DateTime.UtcNow.ToString(""yyyy/MM/dd""); +string date = DateTime.UtcNow.ToString("yyyy/MM/dd"); ``` ### Code with Fix ```csharp -string date = DateTime.UtcNow.ToString(""yyyy/MM/dd"", CultureInfo.InvariantCulture); +string date = DateTime.UtcNow.ToString("yyyy/MM/dd", CultureInfo.InvariantCulture); ```