-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Created property on a container should be a DateTime object #92
Comments
@jterry75 We're correctly performing the mapping from |
Easy enough to do. We already do this in many other places. Just a miss in the autogen code. For example "ImagesListResponse.Created" is a properly converted Unix time -> DateTime. PR on its way. |
Resolves: dotnet#92 Fixes a bug where container.Created was a long unix date time and converts that to a C# System.DateTime object.
Resolves: dotnet#92 Fixes a bug where container.Created was a long unix date time and converts that to a C# System.DateTime object.
Resolves: dotnet#92 Fixes a bug where container.Created was a long unix date time and converts that to a C# System.DateTime object.
There are a few more. |
Right now, the
Created
property on a container is along
. This should be converted to aSystem.DateTime
.https://github.com/Microsoft/Docker.DotNet/blob/44da8e6df3e52729d42a43c945a2e92aace071f7/Docker.DotNet/Models/ContainerListResponse.Generated.cs
Cheers,
Trevor Sullivan
Microsoft MVP: Cloud & Data Center Management
https://trevorsullivan.net
https://twitter.com/pcgeek86
The text was updated successfully, but these errors were encountered: