Skip to content
New issue

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

Add default value for binaryCalendarEpoch #126

Merged

Conversation

jadams-tresys
Copy link
Contributor

Default value in DFDLGeneralFormat.dfdl.xsd is set to the Unix Epoch

DAFFODIL-2006

Default value in DFDLGeneralFormat.dfdl.xsd is set to the Unix Epoch

DAFFODIL-2006
Copy link
Contributor

@mbeckerle mbeckerle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@@ -29,6 +29,7 @@
alignmentUnits="bytes"
binaryFloatRep="ieee"
binaryNumberRep="binary"
binaryCalendarEpoch="1970-01-01T00:00:00"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this have a UTC timezone? I guess if it has a timezone, then we'll end up with timezones in the infoset, which maybe we don't want to be the default?

+1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure it should not have a timezone. The default behavior wants to be timezone is unspecified. Otherwise everyhting starts adding +00:00 to everything.

@jadams-tresys jadams-tresys merged commit e32c463 into apache:master Oct 16, 2018
@jadams-tresys jadams-tresys deleted the daffodil-2006-binaryCalendarEpoch branch October 17, 2018 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants