Skip to content

Commit 45c17ef

Browse files
committed
chore: Removed DateTimeOffset rules from BannedSymbols
1 parent 185f53a commit 45c17ef

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

configurations/BannedSymbols.UTC.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@
99

1010
# Use always UTC Time
1111
P:System.DateTime.Now;Use System.DateTime.UtcNow instead
12-
P:System.DateTimeOffset.Now;Use System.DateTimeOffset.UtcNow instead
13-
P:System.DateTimeOffset.DateTime;Use System.DateTimeOffset.UtcDateTime instead
1412
M:System.IO.File.GetCreationTime(System.String);Use GetCreationTimeUtc instead.

0 commit comments

Comments
 (0)