We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Original issue opened by @jairveder in the QLDB-Driver repo. Moving it here as it's an Ion issue.
When using the IonTextWriterBuilder with IonTextOptions { TimestampAsMillis = false } writing of timestamps result in an System.FormatException.
Example code
{ using (var tw = new StringWriter()) using (var writer = IonTextWriterBuilder.Build(tw, new IonTextOptions { TimestampAsMillis = false })) { writer.Flush(); writer.StepIn(IonType.Struct);
writer.SetFieldName("exampleDate"); writer.WriteTimestamp(new Timestamp(exampleDate)); writer.StepOut(); writer.Finish(); command = tw.ToString(); } var result = IonLoader.Default.Load(command);
} Executing this results in the following exception: image
Package version: 1.0.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Original issue opened by @jairveder in the QLDB-Driver repo. Moving it here as it's an Ion issue.
When using the IonTextWriterBuilder with IonTextOptions { TimestampAsMillis = false } writing of timestamps result in an System.FormatException.
Example code
{
using (var tw = new StringWriter())
using (var writer = IonTextWriterBuilder.Build(tw, new IonTextOptions { TimestampAsMillis = false }))
{
writer.Flush();
writer.StepIn(IonType.Struct);
}
Executing this results in the following exception:
image
Package version: 1.0.1
The text was updated successfully, but these errors were encountered: