commit 900a957318071a9bab481cec1452f8ebb908a607
parent 70f021f945cb686fc3898facab63c502cf528b08
Author: Simon Kornblith <simon@simonster.com>
Date: Sun, 7 Jun 2015 18:52:31 -0400
Put a Z at the end of the accessDates in generateAllTypesAndFieldsData
Doesn't actually make a difference to the tests, but it's more correct
Diffstat:
2 files changed, 35 insertions(+), 35 deletions(-)
diff --git a/test/content/support.js b/test/content/support.js
@@ -411,7 +411,7 @@ function generateAllTypesAndFieldsData() {
let specialValues = {
date: '1999-12-31',
filingDate: '2000-01-02',
- accessDate: '1997-06-13T23:59:58',
+ accessDate: '1997-06-13T23:59:58Z',
number: 3,
numPages: 4,
issue: 5,
diff --git a/test/tests/data/allTypesAndFields.js b/test/tests/data/allTypesAndFields.js
@@ -1,7 +1,7 @@
{
"artwork": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"artworkSize": "Artwork size",
@@ -32,7 +32,7 @@
"audioRecording": {
"ISBN": "978-1-234-56789-7",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -77,7 +77,7 @@
},
"bill": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"code": "Code",
"creators": [
{
@@ -114,7 +114,7 @@
},
"blogPost": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"creators": [
{
"creatorType": "author",
@@ -146,7 +146,7 @@
"book": {
"ISBN": "978-1-234-56789-7",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -198,7 +198,7 @@
"bookSection": {
"ISBN": "978-1-234-56789-7",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -255,7 +255,7 @@
},
"case": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"court": "Court",
"creators": [
{
@@ -291,7 +291,7 @@
"computerProgram": {
"ISBN": "978-1-234-56789-7",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -326,7 +326,7 @@
"DOI": "10.1234/example.doi",
"ISBN": "978-1-234-56789-7",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -377,7 +377,7 @@
"dictionaryEntry": {
"ISBN": "978-1-234-56789-7",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -429,7 +429,7 @@
},
"document": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -473,7 +473,7 @@
},
"email": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"creators": [
{
"creatorType": "author",
@@ -503,7 +503,7 @@
"encyclopediaArticle": {
"ISBN": "978-1-234-56789-7",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -555,7 +555,7 @@
},
"film": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -597,7 +597,7 @@
},
"forumPost": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"creators": [
{
"creatorType": "author",
@@ -623,7 +623,7 @@
},
"hearing": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"committee": "Committee",
"creators": [
{
@@ -651,7 +651,7 @@
},
"instantMessage": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"creators": [
{
"creatorType": "author",
@@ -680,7 +680,7 @@
},
"interview": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -721,7 +721,7 @@
"DOI": "10.1234/example.doi",
"ISSN": "1234-5679",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -772,7 +772,7 @@
},
"letter": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -807,7 +807,7 @@
"magazineArticle": {
"ISSN": "1234-5679",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -849,7 +849,7 @@
},
"manuscript": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -886,7 +886,7 @@
"map": {
"ISBN": "978-1-234-56789-7",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -926,7 +926,7 @@
"newspaperArticle": {
"ISSN": "1234-5679",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -969,7 +969,7 @@
},
"patent": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"applicationNumber": "Application number",
"assignee": "Assignee",
"country": "Country",
@@ -1009,7 +1009,7 @@
},
"podcast": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"creators": [
{
"creatorType": "podcaster",
@@ -1041,7 +1041,7 @@
},
"presentation": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"creators": [
{
"creatorType": "presenter",
@@ -1068,7 +1068,7 @@
},
"radioBroadcast": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -1122,7 +1122,7 @@
},
"report": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -1166,7 +1166,7 @@
},
"statute": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"code": "Code",
"codeNumber": "Code number",
"creators": [
@@ -1197,7 +1197,7 @@
},
"thesis": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -1229,7 +1229,7 @@
},
"tvBroadcast": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -1284,7 +1284,7 @@
"videoRecording": {
"ISBN": "978-1-234-56789-7",
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"archive": "Archive",
"archiveLocation": "Archive location",
"callNumber": "Call number",
@@ -1334,7 +1334,7 @@
},
"webpage": {
"abstractNote": "Abstract note",
- "accessDate": "1997-06-13T23:59:58",
+ "accessDate": "1997-06-13T23:59:58Z",
"creators": [
{
"creatorType": "author",