You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I construct a Timestamp with Precision set to Amazon.IonDotnet.Timestamp.Precision.Day and write it with a text writer it outputs something like 2023-01-01T00:00:00.0000000-00:00. The text writer just calls ToString which doesn't look at Precision at all:
If I construct a
Timestamp
withPrecision
set toAmazon.IonDotnet.Timestamp.Precision.Day
and write it with a text writer it outputs something like2023-01-01T00:00:00.0000000-00:00
. The text writer just callsToString
which doesn't look at Precision at all:ion-dotnet/Amazon.IonDotnet/Timestamp.cs
Line 477 in 74c1746
It looks like the Java implementation does respect Precision in
toString
:https://github.com/amazon-ion/ion-java/blob/a87fb20820f44b8bc6575926710b86a48f3149ce/src/com/amazon/ion/Timestamp.java#L2144
The text was updated successfully, but these errors were encountered: