Change Expires to DateTimeOffset
This commit is contained in:
parent
53be6220a9
commit
59b32934e3
|
|
@ -34,7 +34,7 @@ namespace Microsoft.AspNet.Http
|
|||
/// Gets or sets the expiration date and time for the cookie.
|
||||
/// </summary>
|
||||
/// <returns>The expiration date and time for the cookie.</returns>
|
||||
public DateTime? Expires { get; set; }
|
||||
public DateTimeOffset? Expires { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value that indicates whether to transmit the cookie using Secure Sockets Layer (SSL)<29>that is, over HTTPS only.
|
||||
|
|
|
|||
Loading…
Reference in New Issue