diff --git a/Octokit/Models/Response/DeploymentStatus.cs b/Octokit/Models/Response/DeploymentStatus.cs index 50ad42a2..512d9a34 100644 --- a/Octokit/Models/Response/DeploymentStatus.cs +++ b/Octokit/Models/Response/DeploymentStatus.cs @@ -39,12 +39,12 @@ namespace Octokit /// /// The date and time that the status was created. /// - public DateTime CreatedAt { get; set; } + public DateTimeOffset CreatedAt { get; set; } /// /// The date and time that the status was updated. /// - public DateTime UpdatedAt { get; set; } + public DateTimeOffset UpdatedAt { get; set; } /// /// A short description of the status. diff --git a/Octokit/Models/Response/GitDeployment.cs b/Octokit/Models/Response/GitDeployment.cs index e2cdf89d..0de5a91a 100644 --- a/Octokit/Models/Response/GitDeployment.cs +++ b/Octokit/Models/Response/GitDeployment.cs @@ -32,12 +32,12 @@ namespace Octokit /// /// Date and time that the deployment was created. /// - public DateTime CreatedAt { get; set; } + public DateTimeOffset CreatedAt { get; set; } /// /// Date and time that the deployment was updated. /// - public DateTime UpdatedAt { get; set; } + public DateTimeOffset UpdatedAt { get; set; } /// /// A short description of the deployment.