You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[API Proposal]: DateTime/DateTimeOffset format #644
Modules in the Extensions.InvariantCulture namespace named DateTime and DateTimeOffset with related functions. Move the implementation of TryParse and Parse of DateTime and DateTimeOffset to these modules.
namespaceFSharpPlus.Extensions.InvariantCulture[<RequireQualifiedAccess>]moduleDateTime =lettryParse(x:string)=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.AdjustToUniversal)with|true, x -> Some x
|_-> None
Activity