Update timestamps in inventory app test data to be timezone aware.
authorDiane Trout <diane@ghic.org>
Thu, 13 Feb 2014 01:21:01 +0000 (17:21 -0800)
committerDiane Trout <diane@ghic.org>
Tue, 10 Jun 2014 23:11:44 +0000 (16:11 -0700)
htsworkflow/frontend/inventory/fixtures/test_harddisks.json
htsworkflow/frontend/inventory/fixtures/test_user.json

index 9d4d333df674ba327c4964d03b526d55f78d770a..f757fa8e55bf98e6be3d1d087cd4e41bcb553987 100644 (file)
@@ -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": "",
       "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"
     }
   },
   {
         "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"
     }
   },
   {
         "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,
   {"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,
   {"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,
index c4a9b593aac9b9b66a40192bafe2c744510622e7..2d1a61b3ba1872540b44899b83d78a86247e4603 100644 (file)
@@ -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",
        "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",
        "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",