-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #240 from kelockhart/classic-entrydate
Adjust Classic ingest entry_date for local vs UTC time
- Loading branch information
Showing
3 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ def test_SolrAdapter(self): | |
'doctype_facet_hier': [u'0/Non-Article', u'1/Non-Article/Catalog'], | ||
'doi': [u'doi:\xc5\xbd\xc5\xa0\xc4\x8c\xc5\x98\xc4\x8e\xc5\xa4\xc5\x87:123456789'], | ||
'email': [u'-', u'[email protected]', u'-'], | ||
'entry_date': '2003-03-21T00:00:00.000000Z', | ||
'entry_date': '2003-03-22T00:00:00.000000Z', | ||
'first_author': u"t'Hooft, van X", | ||
'first_author_facet_hier': [u'0/T Hooft, V', u"1/T Hooft, V/t'Hooft, van X"], | ||
'first_author_norm': u'T Hooft, V', | ||
|
@@ -68,7 +68,7 @@ def test_SolrAdapter(self): | |
self.assertEquals(r, { | ||
"first_author": u"Kurtz, Michael J.", | ||
# "links_data": [u"{\"title\":\"\",\"type\":\"spires\",\"instances\":\"\"}", "{\"title\":\"\",\"type\":\"electr\",\"instances\":\"\"}", "{\"title\":\"\",\"type\":\"spires\",\"instances\":\"\"}"], | ||
"entry_date": '2003-03-21T00:00:00.000000Z', | ||
"entry_date": '2003-03-22T00:00:00.000000Z', | ||
"first_author_norm": u"Kurtz, M", | ||
"year": u"2000", | ||
"bibcode": u"2000A&AS..143...41K_test", | ||
|
@@ -179,7 +179,7 @@ def test_SolrAdapter(self): | |
'date': u'2014-06-01T00:00:00.000000Z', | ||
'bibstem': [u'arXiv', u'arXiv1406'], | ||
'bibstem_facet': u'arXiv', | ||
'entry_date': '2003-02-21T00:00:00.000000Z', | ||
'entry_date': '2003-02-22T00:00:00.000000Z', | ||
'pubdate' : u'2014-06-00', | ||
'doctype': u'article', | ||
|
||
|
@@ -249,7 +249,7 @@ def test_SolrAdapter(self): | |
'date': u'2014-06-01T00:00:00.000000Z', | ||
'bibstem': [u'arXiv', u'arXiv1406'], | ||
'bibstem_facet': u'arXiv', | ||
'entry_date': '2003-02-21T00:00:00.000000Z', | ||
'entry_date': '2003-02-22T00:00:00.000000Z', | ||
'pubdate': u'2014-06-00', | ||
'doctype': u'article', | ||
|
||
|
@@ -319,7 +319,7 @@ def test_SolrAdapter(self): | |
'date': u'2018-07-30T00:30:00.000000Z', | ||
'bibstem': [u'arXiv', u'arXiv1807'], | ||
'bibstem_facet': u'arXiv', | ||
'entry_date': '2018-07-30T00:00:00.000000Z', | ||
'entry_date': '2018-07-31T00:00:00.000000Z', | ||
'pubdate': u'2018-07-30', | ||
'doctype': u'article', | ||
|
||
|
@@ -402,7 +402,7 @@ def test_SolrAdapter(self): | |
'date': u'1968-09-01T00:00:00.000000Z', | ||
'bibstem': [u'NuPhB', u'NuPhB...7'], | ||
'bibstem_facet': u'NuPhB', | ||
'entry_date': '2004-06-09T00:00:00.000000Z', | ||
'entry_date': '2004-06-10T00:00:00.000000Z', | ||
'pubdate': u'1968-09-00', | ||
'doctype': u'article', | ||
|
||
|
@@ -474,7 +474,7 @@ def test_SolrAdapter(self): | |
'date': u'2018-02-01T00:00:00.000000Z', | ||
'bibstem': [u'ascl', u'ascl.soft'], | ||
'bibstem_facet': u'ascl.soft', | ||
'entry_date': '2004-06-09T00:00:00.000000Z', | ||
'entry_date': '2004-06-10T00:00:00.000000Z', | ||
'pubdate': u'2018-02-00', | ||
'doctype': u'software', | ||
|
||
|
@@ -539,7 +539,7 @@ def test_SolrAdapter(self): | |
'date': u'1988-04-01T00:00:00Z', | ||
'bibstem': [u'Sci', u'Sci...240'], | ||
'bibstem_facet': u'Sci', | ||
'entry_date': '2002-06-26T00:00:00.000000Z', | ||
'entry_date': '2002-06-27T00:00:00.000000Z', | ||
'pubdate': u'1988-04-00', | ||
'date': u'1988-04-01T00:00:00.000000Z', | ||
'doctype': u'article', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters