Skip to content
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

Time returned by Get-RubrikEvent is a string #426

Closed
jaapbrasser opened this issue Aug 13, 2019 · 0 comments · Fixed by #427
Closed

Time returned by Get-RubrikEvent is a string #426

jaapbrasser opened this issue Aug 13, 2019 · 0 comments · Fixed by #427

Comments

@jaapbrasser
Copy link
Contributor

Is your feature request related to a problem? Please describe.

The time field returned by Get-RubrikEvent is a string in the following format:

time          : Tue Aug 13 08:18:28 UTC 2019

Describe the solution you'd like

Other date time objects returned by the PowerShell module are proper date time objects, I would to have an additional property added date to the output object that is a converted datetime object.

A private function could be written that converts the date.

Additional context

Get-RubrikSnapshot - Provides datetime object in date field

image

Get-RubrikEvent - Provides unparsed api endpoint date time format

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant