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

Get-RubrikSnapshot should convert current date to UTC for -Latest #535

Closed
shamsway opened this issue Dec 19, 2019 · 0 comments · Fixed by #538
Closed

Get-RubrikSnapshot should convert current date to UTC for -Latest #535

shamsway opened this issue Dec 19, 2019 · 0 comments · Fixed by #538
Assignees
Labels

Comments

@shamsway
Copy link
Contributor

Current Behavior:

Currently Get-RubrikSnapshot -Latest determines the current time with Get-Date using the local time zone, but the API returns dates in UTC. This can lead to the wrong (i.e. not the most recent) snapshot being returned when using -Latest

Expected Behavior:
The most recent snapshot should be returned with Get-RubrikSnapshot -Latest

@shamsway shamsway self-assigned this Dec 19, 2019
mwpreston added a commit that referenced this issue Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant