File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,14 +133,14 @@ protected override void ProcessRecord()
133
133
To = DateTime . UtcNow ;
134
134
}
135
135
136
- WriteDebug ( String . Format ( Resources . StartTimeFilter , System . Uri . EscapeDataString ( From . Value . ToString ( "yyyy-MM-dd hh:mm:ss tt" ) ) ) ) ;
137
- WriteDebug ( String . Format ( Resources . EndTimeFilter , System . Uri . EscapeDataString ( To . Value . ToString ( "yyyy-MM-dd hh:mm:ss tt" ) ) ) ) ;
136
+ DateTimeFormatInfo format = new CultureInfo ( "en-US" ) . DateTimeFormat ;
137
+ WriteDebug ( String . Format ( Resources . StartTimeFilter , System . Uri . EscapeDataString ( From . Value . ToString ( "yyyy-MM-dd hh:mm:ss tt" , format ) ) ) ) ;
138
+ WriteDebug ( String . Format ( Resources . EndTimeFilter , System . Uri . EscapeDataString ( To . Value . ToString ( "yyyy-MM-dd hh:mm:ss tt" , format ) ) ) ) ;
138
139
WriteDebug ( String . Format ( Resources . OperationFilter , Operation ) ) ;
139
140
WriteDebug ( String . Format ( Resources . StatusFilter , Status ) ) ;
140
141
WriteDebug ( String . Format ( Resources . TypeFilter , Type ) ) ;
141
142
WriteDebug ( String . Format ( Resources . JobIdFilter , JobId ) ) ;
142
143
143
- DateTimeFormatInfo format = new CultureInfo ( "en-US" ) . DateTimeFormat ;
144
144
Mgmt . CSMJobQueryObject queryParams = new Mgmt . CSMJobQueryObject ( )
145
145
{
146
146
You can’t perform that action at this time.
0 commit comments