File tree Expand file tree Collapse file tree 3 files changed +2311
-6
lines changed
src/dotnetframework/GxClasses/Model
test/DotNetCoreUnitTest/Domain Expand file tree Collapse file tree 3 files changed +2311
-6
lines changed Original file line number Diff line number Diff line change @@ -629,14 +629,17 @@ public override string ToString()
629629 if ( o != null )
630630 {
631631#if NETCORE
632- var fixedPoint = "F" ;
633- if ( o is decimal )
634- s += ( ( decimal ) o ) . ToString ( fixedPoint , CultureInfo . InvariantCulture ) ;
635- else
636- s += o . ToString ( ) ;
632+ string fixedPoint = "F" ;
633+ if ( o is decimal )
634+ s += ( ( decimal ) o ) . ToString ( fixedPoint , CultureInfo . InvariantCulture ) ;
637635#else
638- s += o . ToString ( ) ;
636+ if ( o is decimal )
637+ s += ( ( decimal ) o ) . ToString ( CultureInfo . InvariantCulture ) ;
639638#endif
639+ else if ( o is DateTime)
640+ s += ( ( DateTime ) o ) . ToString ( CultureInfo . InvariantCulture ) ;
641+ else
642+ s += o. ToString( ) ;
640643 }
641644 }
642645 }
You can’t perform that action at this time.
0 commit comments