From: Diane Trout Date: Thu, 13 Feb 2014 01:21:01 +0000 (-0800) Subject: Update timestamps in inventory app test data to be timezone aware. X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=4d40a0cf596522aa15ef541e33c5decfe05fb051 Update timestamps in inventory app test data to be timezone aware. --- diff --git a/htsworkflow/frontend/inventory/fixtures/test_harddisks.json b/htsworkflow/frontend/inventory/fixtures/test_harddisks.json index 9d4d333..f757fa8 100644 --- a/htsworkflow/frontend/inventory/fixtures/test_harddisks.json +++ b/htsworkflow/frontend/inventory/fixtures/test_harddisks.json @@ -80,7 +80,7 @@ "model": "inventory.item", "fields": { "status": null, - "modified_date": "2009-08-10 16:58:44", + "modified_date": "2009-08-10T16:58:44-0800", "uuid": "8a90b6ce522311de99b00015172ce556", "barcode_id": "WCAU49183397", "notes": "", @@ -88,7 +88,7 @@ "force_use_uuid": false, "item_type": 1, "location": 1, - "creation_date": "2009-06-05 15:52:26" + "creation_date": "2009-06-05T15:52:26-0800" } }, { @@ -96,7 +96,7 @@ "model": "inventory.item", "fields": { "status": null, - "modified_date": "2009-06-16 11:38:24", + "modified_date": "2009-06-16T11:38:24-0800", "uuid": "b0792d425aa411de99b00015172ce556", "barcode_id": "WCAU49042470", "notes": "", @@ -104,7 +104,7 @@ "force_use_uuid": false, "item_type": 1, "location": 1, - "creation_date": "2009-06-16 11:37:04" + "creation_date": "2009-06-16T11:37:04-0800" } }, { @@ -146,12 +146,12 @@ "10002", "10003" ], - "modified_date": "2009-06-01 00:00:00", + "modified_date": "2009-06-01T00:00:00-0800", "storage_devices": [ 1 ], "flowcell": 1, - "creation_date": "2009-06-01 00:00:00" + "creation_date": "2009-06-01T00:00:00-0800" } }, { @@ -163,18 +163,18 @@ "10002", "10003" ], - "modified_date": "2009-06-01 00:00:00", + "modified_date": "2009-06-01T00:00:00-0800", "storage_devices": [ 1 ], "flowcell": 2, - "creation_date": "2009-06-01 00:00:00" + "creation_date": "2009-06-01T00:00:00-0800" } }, {"pk": 1, "model": "experiments.flowcell", "fields": { "paired_end": true, - "run_date": "2009-09-11 22:12:13", + "run_date": "2009-09-11T22:12:13-0800", "read_length": 75, "notes": "", "advanced_run": false, @@ -185,7 +185,7 @@ {"pk": 2, "model": "experiments.flowcell", "fields": { "paired_end": false, - "run_date": "2010-09-11 22:12:13", + "run_date": "2010-09-11T22:12:13-0800", "read_length": 75, "notes": "", "advanced_run": false, @@ -196,7 +196,7 @@ {"pk": 3, "model": "experiments.flowcell", "fields": { "paired_end": false, - "run_date": "2010-09-11 22:12:13", + "run_date": "2010-09-11T22:12:13-0800", "read_length": 75, "notes": "", "advanced_run": false, diff --git a/htsworkflow/frontend/inventory/fixtures/test_user.json b/htsworkflow/frontend/inventory/fixtures/test_user.json index c4a9b59..2d1a61b 100644 --- a/htsworkflow/frontend/inventory/fixtures/test_user.json +++ b/htsworkflow/frontend/inventory/fixtures/test_user.json @@ -7,12 +7,12 @@ "is_active": true, "is_superuser": false, "is_staff": false, - "last_login": "2009-01-01 00:00:01", + "last_login": "2009-01-01T00:00:01-0800", "groups": [], "user_permissions": [], "password": "sha1$foo$5e4eefec1144a04becfb7da79244f07c487fc345", "email": "", - "date_joined": "2009-01-01 00:01:01" + "date_joined": "2009-01-01T00:01:01-0800" } }, {"pk": 5, "model": "samples.htsuser", @@ -26,12 +26,12 @@ "is_active": true, "is_superuser": false, "is_staff": true, - "last_login": "2009-01-01 00:00:01", + "last_login": "2009-01-01T00:00:01-0800", "groups": [], "user_permissions": [], "password": "sha1$foo$5e4eefec1144a04becfb7da79244f07c487fc345", "email": "", - "date_joined": "2009-01-01 00:01:01" + "date_joined": "2009-01-01T00:01:01-0800" } }, {"pk": 6, "model": "samples.htsuser", @@ -45,12 +45,12 @@ "is_active": true, "is_superuser": true, "is_staff": true, - "last_login": "2009-01-01 00:00:01", + "last_login": "2009-01-01T00:00:01-0800", "groups": [], "user_permissions": [], "password": "sha1$foo$5e4eefec1144a04becfb7da79244f07c487fc345", "email": "", - "date_joined": "2009-01-01 00:01:01" + "date_joined": "2009-01-01T00:01:01-0800" } }, {"pk": 7, "model": "samples.htsuser",