From a8a7e077b8a8c61282a2c98dcebff4f1778c2a68 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 23 Jul 2018 10:49:14 +0300 Subject: [PATCH] Update notes for 2018-07-23 --- content/posts/2018-07.md | 24 ++++++++++++++++++++++++ docs/2018-07/index.html | 33 ++++++++++++++++++++++++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 59 insertions(+), 8 deletions(-) diff --git a/content/posts/2018-07.md b/content/posts/2018-07.md index 8b865e541..c6a6cad48 100644 --- a/content/posts/2018-07.md +++ b/content/posts/2018-07.md @@ -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 + diff --git a/docs/2018-07/index.html b/docs/2018-07/index.html index 558931a61..1a1154b69 100644 --- a/docs/2018-07/index.html +++ b/docs/2018-07/index.html @@ -30,7 +30,7 @@ There is insufficient memory for the Java Runtime Environment to continue. - + @@ -71,9 +71,9 @@ There is insufficient memory for the Java Runtime Environment to continue. "@type": "BlogPosting", "headline": "July, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-07/", - "wordCount": "3238", + "wordCount": "3330", "datePublished": "2018-07-01T12:56:54+03:00", - "dateModified": "2018-07-22T17:10:13+03:00", + "dateModified": "2018-07-22T17:10:44+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -652,6 +652,33 @@ X-XSS-Protection: 1; mode=block
  • There is no word on the issue I reported with Tomcat 8.5.32 yet, though…
  • +

    2018-07-23

    + + + +
    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
    +
    + + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 5e4c251aa..3977a5daf 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-07/ - 2018-07-22T17:10:13+03:00 + 2018-07-22T17:10:44+03:00 @@ -174,7 +174,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-07-22T17:10:13+03:00 + 2018-07-22T17:10:44+03:00 0 @@ -185,7 +185,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-07-22T17:10:13+03:00 + 2018-07-22T17:10:44+03:00 0 @@ -197,13 +197,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2018-07-22T17:10:13+03:00 + 2018-07-22T17:10:44+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-07-22T17:10:13+03:00 + 2018-07-22T17:10:44+03:00 0