Fixed EPM policy time filter to use 24-hour format (HH-HH)#1917
Merged
sshrushanth-ks merged 1 commit intoepm-policy-time-format-fixfrom Apr 7, 2026
Merged
Conversation
amangalampalli-ks
approved these changes
Apr 6, 2026
pvagare-ks
approved these changes
Apr 6, 2026
sali-ks
approved these changes
Apr 6, 2026
sshrushanth-ks
added a commit
that referenced
this pull request
Apr 7, 2026
sshrushanth-ks
added a commit
that referenced
this pull request
Apr 7, 2026
sshrushanth-ks
added a commit
that referenced
this pull request
Apr 9, 2026
sk-keeper
pushed a commit
that referenced
this pull request
Apr 9, 2026
sk-keeper
pushed a commit
that referenced
this pull request
Apr 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CLI was storing time ranges in HH:MM:SS format, inconsistent with the Admin Console which stores hours as plain integers (0-23). This caused the Admin Console EPM policy popup to break when policies were set via CLI.
Updated to_time to reject any input containing minutes/seconds and accept only integer hours (0-23), stored as bare integer strings to match Admin Console behaviour. Updated from_time to handle both the legacy HH:MM:SS format and the new integer format for backward compatibility. Updated the --time-filter help text to reflect the new HH-HH format (e.g. 9-17).