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

Date Time correction/enhancer #26

Open
valentinedwv opened this issue Mar 16, 2017 · 1 comment
Open

Date Time correction/enhancer #26

valentinedwv opened this issue Mar 16, 2017 · 1 comment

Comments

@valentinedwv
Copy link
Member

Watching logs from an Elasticsearch Geoportal reindex:

2017-03-16 17:58:09,428 DEBUG [com.esri.geoportal.base.util.DateUtil] - Bad ISO date: 2000-00-00Z

2017-03-16 18:06:33,849 DEBUG [com.esri.geoportal.base.util.DateUtil] - Bad ISO date: Present
2017-03-16 18:10:53,298 DEBUG [com.esri.geoportal.base.util.DateUtil] - Bad ISO date: 2010-03-30TUnknown
  • 2000-00-00Z > match nnnn-00-00Z > goes to
    <gco:Date>nnnn</gco:Date>

  • Present > match > goes to

<gmd:extent>
      <gml:TimePeriod gml:id="id">									
	<gml:beginPosition indeterminatePosition="now"/>
	<gml:endPosition indeterminatePosition="now"/>
								
      </gml:TimePeriod>
    </gmd:extent>
  • Bad ISO date: 2010-03-30TUnknown > need to look at record. possibly
<gmd:extent>
      <gml:TimePeriod gml:id="id">									
	<gml:beginPosition indeterminatePosition="before"> 2010-03-30<gml:beginPosition>
	<gml:endPosition indeterminatePosition="now"/>
								
      </gml:TimePeriod>
    </gmd:extent>
  • Bad ISO date: Unknown > match >
    <gml:timePosition indeterminatePosition="unknown">
@valentinedwv
Copy link
Member Author

2017-03-16 18:24:14,096 DEBUG [com.esri.geoportal.base.util.DateUtil] - Bad ISO date: NaN-NaN-98
2017-03-16 18:24:14,096 DEBUG [com.esri.geoportal.base.util.DateUtil] - Bad ISO date: NaN-NaN-98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant