Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into wally/set-timezone-…
Browse files Browse the repository at this point in the history
…in-test
  • Loading branch information
wallymathieu committed Oct 15, 2023
2 parents feef57b + 16878b6 commit 3d06ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FSharpPlus/Control/Converter.fs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ type TryParse =
match DateTime.TryParseExact (x, [|"yyyy-MM-ddTHH:mm:ss.fffZ"; "yyyy-MM-ddTHH:mm:ssZ"|], null, DateTimeStyles.RoundtripKind) with
| true, x -> Some x
| _ ->
match DateTime.TryParse (x, CultureInfo.InvariantCulture, DateTimeStyles.None) with
match DateTime.TryParse (x, CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal) with
| true, x -> Some x
| _ -> None

Expand Down

0 comments on commit 3d06ec3

Please sign in to comment.