File tree Expand file tree Collapse file tree
project/Remote/Parameters Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,13 +209,13 @@ public override Exception[] Validate(string value)
209209 {
210210 exceptions . Add (
211211 GenerateException ( "Value of '{name}' is less than the minimum allowed ({0})" ,
212- myMinValue . ToString ( CultureInfo . InvariantCulture . DateTimeFormat . ShortDatePattern ) ) ) ;
212+ myMinValue . ToString ( CultureInfo . InvariantCulture . DateTimeFormat . ShortDatePattern , CultureInfo . InvariantCulture ) ) ) ;
213213 }
214214 if ( actualValue > myMaxValue )
215215 {
216216 exceptions . Add (
217217 GenerateException ( "Value of '{name}' is more than the maximum allowed ({0})" ,
218- myMaxValue . ToString ( CultureInfo . InvariantCulture . DateTimeFormat . ShortDatePattern ) ) ) ;
218+ myMaxValue . ToString ( CultureInfo . InvariantCulture . DateTimeFormat . ShortDatePattern , CultureInfo . InvariantCulture ) ) ) ;
219219 }
220220 }
221221 else
You can’t perform that action at this time.
0 commit comments