File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212RootModule = ' AutomatePS.psm1'
1313
1414# Version number of this module.
15- ModuleVersion = ' 5.1.0 '
15+ ModuleVersion = ' 5.1.1 '
1616
1717# Supported PSEditions
1818# CompatiblePSEditions = @()
Original file line number Diff line number Diff line change @@ -120,10 +120,10 @@ function Format-AMUri {
120120 $Parameters += (" filter_sets=$ ( $filterStrings -join [uri ]::EscapeDataString($operator )) " )
121121 }
122122 if ($PSBoundParameters.ContainsKey (" RangeStart" )) {
123- $Parameters += " range_start=$ ( $RangeStart.ToUniversalTime ()) "
123+ $Parameters += " range_start=$ ( $RangeStart.ToUniversalTime ().ToString(( Get-Culture ).DateTimeFormat.SortableDateTimePattern) ) "
124124 }
125125 if ($PSBoundParameters.ContainsKey (" RangeEnd" )) {
126- $Parameters += " range_end=$ ( $RangeEnd.ToUniversalTime ()) "
126+ $Parameters += " range_end=$ ( $RangeEnd.ToUniversalTime ().ToString(( Get-Culture ).DateTimeFormat.SortableDateTimePattern) ) "
127127 }
128128 if ($PSBoundParameters.ContainsKey (" FolderID" )) {
129129 $Parameters += " folder_id=$FolderID "
You can’t perform that action at this time.
0 commit comments