Skip to content

Commit

Permalink
Update AN0007.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KThaulow authored Sep 16, 2018
1 parent 302512e commit edd3535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/AN0007.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
```

0 comments on commit edd3535

Please sign in to comment.