mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2018-07-23
This commit is contained in:
@ -457,4 +457,28 @@ webui.itemlist.sort-option.3 = dateaccessioned:dc.date.accessioned:date
|
||||
- I finally informed Atmire that we're ready to proceed with deploying this to CGSpace and that they should advise whether we should wait about the SNAPSHOT versions in `pom.xml`
|
||||
- There is no word on the issue I reported with Tomcat 8.5.32 yet, though...
|
||||
|
||||
## 2018-07-23
|
||||
|
||||
- Still discussing dates with IWMI
|
||||
- I looked in the database to see the breakdown of date formats used in `dc.date.issued`, ie YYYY, YYYY-MM, or YYYY-MM-DD:
|
||||
|
||||
```
|
||||
dspace=# select count(text_value) from metadatavalue where resource_type_id=2 and metadata_field_id=15 and text_value ~ '^[0-9]{4}$';
|
||||
count
|
||||
-------
|
||||
53292
|
||||
(1 row)
|
||||
dspace=# select count(text_value) from metadatavalue where resource_type_id=2 and metadata_field_id=15 and text_value ~ '^[0-9]{4}-[0-9]{2}$';
|
||||
count
|
||||
-------
|
||||
3818
|
||||
(1 row)
|
||||
dspace=# select count(text_value) from metadatavalue where resource_type_id=2 and metadata_field_id=15 and text_value ~ '^[0-9]{4}-[0-9]{2}-[0-9]{2}$';
|
||||
count
|
||||
-------
|
||||
17357
|
||||
```
|
||||
|
||||
- So it looks like YYYY is the most numerious, followed by YYYY-MM-DD, then YYYY-MM
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user