From 014c0b922a672edefa501aef9154f80e5e89e611 Mon Sep 17 00:00:00 2001
From: Dimitri DELABROYE <dimitri.delabroye@inria.fr>
Date: Tue, 2 Jul 2019 08:11:49 +0200
Subject: [PATCH] [lib/refapi] use Date instead of Time fix #9130

---
 data/grid5000/sites/grenoble/clusters/dahu/dahu.json      | 2 +-
 data/grid5000/sites/grenoble/clusters/yeti/yeti.json      | 2 +-
 data/grid5000/sites/lille/clusters/chetemi/chetemi.json   | 2 +-
 data/grid5000/sites/lille/clusters/chiclet/chiclet.json   | 2 +-
 data/grid5000/sites/lille/clusters/chifflet/chifflet.json | 2 +-
 data/grid5000/sites/lille/clusters/chifflot/chifflot.json | 2 +-
 .../sites/luxembourg/clusters/granduc/granduc.json        | 2 +-
 .../luxembourg/clusters/petitprince/petitprince.json      | 2 +-
 data/grid5000/sites/lyon/clusters/hercule/hercule.json    | 2 +-
 data/grid5000/sites/lyon/clusters/nova/nova.json          | 2 +-
 data/grid5000/sites/lyon/clusters/orion/orion.json        | 2 +-
 .../sites/lyon/clusters/sagittaire/sagittaire.json        | 2 +-
 data/grid5000/sites/lyon/clusters/taurus/taurus.json      | 2 +-
 data/grid5000/sites/nancy/clusters/graffiti/graffiti.json | 2 +-
 data/grid5000/sites/nancy/clusters/graoully/graoully.json | 2 +-
 .../sites/nancy/clusters/graphique/graphique.json         | 2 +-
 data/grid5000/sites/nancy/clusters/graphite/graphite.json | 2 +-
 data/grid5000/sites/nancy/clusters/grcinq/grcinq.json     | 2 +-
 data/grid5000/sites/nancy/clusters/grele/grele.json       | 2 +-
 data/grid5000/sites/nancy/clusters/grimani/grimani.json   | 2 +-
 data/grid5000/sites/nancy/clusters/grimoire/grimoire.json | 2 +-
 data/grid5000/sites/nancy/clusters/grisou/grisou.json     | 2 +-
 data/grid5000/sites/nancy/clusters/grvingt/grvingt.json   | 2 +-
 data/grid5000/sites/nantes/clusters/econome/econome.json  | 2 +-
 data/grid5000/sites/nantes/clusters/ecotype/ecotype.json  | 2 +-
 .../grid5000/sites/rennes/clusters/paranoia/paranoia.json | 2 +-
 .../grid5000/sites/rennes/clusters/parapide/parapide.json | 2 +-
 .../sites/rennes/clusters/parapluie/parapluie.json        | 2 +-
 .../grid5000/sites/rennes/clusters/parasilo/parasilo.json | 2 +-
 .../sites/rennes/clusters/paravance/paravance.json        | 2 +-
 data/grid5000/sites/sophia/clusters/suno/suno.json        | 2 +-
 data/grid5000/sites/sophia/clusters/uvb/uvb.json          | 2 +-
 lib/refrepo/gen/reference-api.rb                          | 8 ++++----
 33 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/data/grid5000/sites/grenoble/clusters/dahu/dahu.json b/data/grid5000/sites/grenoble/clusters/dahu/dahu.json
index 416dab1e51f..4c65a39bb62 100644
--- a/data/grid5000/sites/grenoble/clusters/dahu/dahu.json
+++ b/data/grid5000/sites/grenoble/clusters/dahu/dahu.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Thu, 22 Mar 2018 11:00:00 GMT",
+  "created_at": "Thu, 22 Mar 2018 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge C6420",
   "priority": "201800",
diff --git a/data/grid5000/sites/grenoble/clusters/yeti/yeti.json b/data/grid5000/sites/grenoble/clusters/yeti/yeti.json
index 6ec47d99d00..dd5edeaddd3 100644
--- a/data/grid5000/sites/grenoble/clusters/yeti/yeti.json
+++ b/data/grid5000/sites/grenoble/clusters/yeti/yeti.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Tue, 16 Jan 2018 15:00:00 GMT",
+  "created_at": "Tue, 16 Jan 2018 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R940",
   "queues": [
diff --git a/data/grid5000/sites/lille/clusters/chetemi/chetemi.json b/data/grid5000/sites/lille/clusters/chetemi/chetemi.json
index d5b78b31ed9..38162ae3ec6 100644
--- a/data/grid5000/sites/lille/clusters/chetemi/chetemi.json
+++ b/data/grid5000/sites/lille/clusters/chetemi/chetemi.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Wed, 30 Nov 2016 23:00:00 GMT",
+  "created_at": "Thu, 01 Dec 2016 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R630",
   "priority": "201650",
diff --git a/data/grid5000/sites/lille/clusters/chiclet/chiclet.json b/data/grid5000/sites/lille/clusters/chiclet/chiclet.json
index d3bb2fac94f..3435d67a200 100644
--- a/data/grid5000/sites/lille/clusters/chiclet/chiclet.json
+++ b/data/grid5000/sites/lille/clusters/chiclet/chiclet.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Sun, 05 Aug 2018 22:00:00 GMT",
+  "created_at": "Mon, 06 Aug 2018 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R7425",
   "priority": "201850",
diff --git a/data/grid5000/sites/lille/clusters/chifflet/chifflet.json b/data/grid5000/sites/lille/clusters/chifflet/chifflet.json
index 84c31597cc1..5324770851d 100644
--- a/data/grid5000/sites/lille/clusters/chifflet/chifflet.json
+++ b/data/grid5000/sites/lille/clusters/chifflet/chifflet.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Wed, 30 Nov 2016 23:00:00 GMT",
+  "created_at": "Thu, 01 Dec 2016 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R730",
   "priority": "201670",
diff --git a/data/grid5000/sites/lille/clusters/chifflot/chifflot.json b/data/grid5000/sites/lille/clusters/chifflot/chifflot.json
index bd7b7798514..467c8f73bb0 100644
--- a/data/grid5000/sites/lille/clusters/chifflot/chifflot.json
+++ b/data/grid5000/sites/lille/clusters/chifflot/chifflot.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Tue, 31 Jul 2018 22:00:00 GMT",
+  "created_at": "Wed, 01 Aug 2018 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R740",
   "priority": "201870",
diff --git a/data/grid5000/sites/luxembourg/clusters/granduc/granduc.json b/data/grid5000/sites/luxembourg/clusters/granduc/granduc.json
index 4f9f5b66b1e..7e07025f246 100644
--- a/data/grid5000/sites/luxembourg/clusters/granduc/granduc.json
+++ b/data/grid5000/sites/luxembourg/clusters/granduc/granduc.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Wed, 30 Nov 2011 23:00:00 GMT",
+  "created_at": "Thu, 01 Dec 2011 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge 1950",
   "queues": [
diff --git a/data/grid5000/sites/luxembourg/clusters/petitprince/petitprince.json b/data/grid5000/sites/luxembourg/clusters/petitprince/petitprince.json
index 41c96b6cb30..8a60605b6e1 100644
--- a/data/grid5000/sites/luxembourg/clusters/petitprince/petitprince.json
+++ b/data/grid5000/sites/luxembourg/clusters/petitprince/petitprince.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Mon, 09 Sep 2013 22:00:00 GMT",
+  "created_at": "Tue, 10 Sep 2013 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge M620",
   "queues": [
diff --git a/data/grid5000/sites/lyon/clusters/hercule/hercule.json b/data/grid5000/sites/lyon/clusters/hercule/hercule.json
index 74454b161df..33b1ffcc5ca 100644
--- a/data/grid5000/sites/lyon/clusters/hercule/hercule.json
+++ b/data/grid5000/sites/lyon/clusters/hercule/hercule.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Tue, 02 Oct 2012 12:00:00 GMT",
+  "created_at": "Tue, 02 Oct 2012 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge C6220",
   "priority": "201299",
diff --git a/data/grid5000/sites/lyon/clusters/nova/nova.json b/data/grid5000/sites/lyon/clusters/nova/nova.json
index ea9783c9976..f0cd7e24062 100644
--- a/data/grid5000/sites/lyon/clusters/nova/nova.json
+++ b/data/grid5000/sites/lyon/clusters/nova/nova.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Thu, 01 Dec 2016 12:00:00 GMT",
+  "created_at": "Thu, 01 Dec 2016 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R430",
   "priority": "201700",
diff --git a/data/grid5000/sites/lyon/clusters/orion/orion.json b/data/grid5000/sites/lyon/clusters/orion/orion.json
index 894183c6138..571b1ed31e8 100644
--- a/data/grid5000/sites/lyon/clusters/orion/orion.json
+++ b/data/grid5000/sites/lyon/clusters/orion/orion.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Fri, 14 Sep 2012 12:00:00 GMT",
+  "created_at": "Fri, 14 Sep 2012 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R720",
   "priority": "201299",
diff --git a/data/grid5000/sites/lyon/clusters/sagittaire/sagittaire.json b/data/grid5000/sites/lyon/clusters/sagittaire/sagittaire.json
index fa088ddf4d0..dea4f1d8844 100644
--- a/data/grid5000/sites/lyon/clusters/sagittaire/sagittaire.json
+++ b/data/grid5000/sites/lyon/clusters/sagittaire/sagittaire.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Sat, 01 Jul 2006 12:00:00 GMT",
+  "created_at": "Sat, 01 Jul 2006 00:00:00 GMT",
   "kavlan": true,
   "model": "Sun Fire V20z",
   "priority": "201899",
diff --git a/data/grid5000/sites/lyon/clusters/taurus/taurus.json b/data/grid5000/sites/lyon/clusters/taurus/taurus.json
index 0d159f7f564..5df6f21b751 100644
--- a/data/grid5000/sites/lyon/clusters/taurus/taurus.json
+++ b/data/grid5000/sites/lyon/clusters/taurus/taurus.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Fri, 14 Sep 2012 12:00:00 GMT",
+  "created_at": "Fri, 14 Sep 2012 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R720",
   "queues": [
diff --git a/data/grid5000/sites/nancy/clusters/graffiti/graffiti.json b/data/grid5000/sites/nancy/clusters/graffiti/graffiti.json
index 6953ec4a18f..2e71409660f 100644
--- a/data/grid5000/sites/nancy/clusters/graffiti/graffiti.json
+++ b/data/grid5000/sites/nancy/clusters/graffiti/graffiti.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Thu, 06 Jun 2019 22:00:00 GMT",
+  "created_at": "Fri, 07 Jun 2019 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge T640",
   "queues": [
diff --git a/data/grid5000/sites/nancy/clusters/graoully/graoully.json b/data/grid5000/sites/nancy/clusters/graoully/graoully.json
index 5f4fbcfc365..4eef9c604bf 100644
--- a/data/grid5000/sites/nancy/clusters/graoully/graoully.json
+++ b/data/grid5000/sites/nancy/clusters/graoully/graoully.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Sun, 03 Jan 2016 23:00:00 GMT",
+  "created_at": "Mon, 04 Jan 2016 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R630",
   "queues": [
diff --git a/data/grid5000/sites/nancy/clusters/graphique/graphique.json b/data/grid5000/sites/nancy/clusters/graphique/graphique.json
index 2bc1c0a5972..d09ecbf265e 100644
--- a/data/grid5000/sites/nancy/clusters/graphique/graphique.json
+++ b/data/grid5000/sites/nancy/clusters/graphique/graphique.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Tue, 12 May 2015 17:00:00 GMT",
+  "created_at": "Tue, 12 May 2015 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R720",
   "queues": [
diff --git a/data/grid5000/sites/nancy/clusters/graphite/graphite.json b/data/grid5000/sites/nancy/clusters/graphite/graphite.json
index 77d81ff1417..bdcc489b919 100644
--- a/data/grid5000/sites/nancy/clusters/graphite/graphite.json
+++ b/data/grid5000/sites/nancy/clusters/graphite/graphite.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Wed, 04 Dec 2013 23:00:00 GMT",
+  "created_at": "Thu, 05 Dec 2013 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R720",
   "queues": [
diff --git a/data/grid5000/sites/nancy/clusters/grcinq/grcinq.json b/data/grid5000/sites/nancy/clusters/grcinq/grcinq.json
index 93a733be376..b6c45dd2dd5 100644
--- a/data/grid5000/sites/nancy/clusters/grcinq/grcinq.json
+++ b/data/grid5000/sites/nancy/clusters/grcinq/grcinq.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Mon, 08 Apr 2013 22:00:00 GMT",
+  "created_at": "Tue, 09 Apr 2013 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge C6220",
   "queues": [
diff --git a/data/grid5000/sites/nancy/clusters/grele/grele.json b/data/grid5000/sites/nancy/clusters/grele/grele.json
index 07e1ccf2726..5efad864db9 100644
--- a/data/grid5000/sites/nancy/clusters/grele/grele.json
+++ b/data/grid5000/sites/nancy/clusters/grele/grele.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Sun, 25 Jun 2017 22:00:00 GMT",
+  "created_at": "Mon, 26 Jun 2017 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R730",
   "queues": [
diff --git a/data/grid5000/sites/nancy/clusters/grimani/grimani.json b/data/grid5000/sites/nancy/clusters/grimani/grimani.json
index 9a6126904e4..3453c69b69f 100644
--- a/data/grid5000/sites/nancy/clusters/grimani/grimani.json
+++ b/data/grid5000/sites/nancy/clusters/grimani/grimani.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Mon, 29 Aug 2016 22:00:00 GMT",
+  "created_at": "Tue, 30 Aug 2016 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R730",
   "queues": [
diff --git a/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json b/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json
index 08010046c24..a1038a60dda 100644
--- a/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json
+++ b/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Thu, 21 Jan 2016 23:00:00 GMT",
+  "created_at": "Fri, 22 Jan 2016 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R630",
   "queues": [
diff --git a/data/grid5000/sites/nancy/clusters/grisou/grisou.json b/data/grid5000/sites/nancy/clusters/grisou/grisou.json
index a1b3d1c7135..c9b008ca892 100644
--- a/data/grid5000/sites/nancy/clusters/grisou/grisou.json
+++ b/data/grid5000/sites/nancy/clusters/grisou/grisou.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Sun, 03 Jan 2016 23:00:00 GMT",
+  "created_at": "Mon, 04 Jan 2016 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R630",
   "priority": "201201",
diff --git a/data/grid5000/sites/nancy/clusters/grvingt/grvingt.json b/data/grid5000/sites/nancy/clusters/grvingt/grvingt.json
index 7df195eb10b..296db226fe8 100644
--- a/data/grid5000/sites/nancy/clusters/grvingt/grvingt.json
+++ b/data/grid5000/sites/nancy/clusters/grvingt/grvingt.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Tue, 10 Apr 2018 22:00:00 GMT",
+  "created_at": "Wed, 11 Apr 2018 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge C6420",
   "queues": [
diff --git a/data/grid5000/sites/nantes/clusters/econome/econome.json b/data/grid5000/sites/nantes/clusters/econome/econome.json
index 76f58b4e26e..0e50c521aef 100644
--- a/data/grid5000/sites/nantes/clusters/econome/econome.json
+++ b/data/grid5000/sites/nantes/clusters/econome/econome.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Tue, 15 Apr 2014 22:00:00 GMT",
+  "created_at": "Wed, 16 Apr 2014 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge C6220",
   "queues": [
diff --git a/data/grid5000/sites/nantes/clusters/ecotype/ecotype.json b/data/grid5000/sites/nantes/clusters/ecotype/ecotype.json
index 3906407eb10..b234310cba1 100644
--- a/data/grid5000/sites/nantes/clusters/ecotype/ecotype.json
+++ b/data/grid5000/sites/nantes/clusters/ecotype/ecotype.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Mon, 16 Oct 2017 17:40:55 GMT",
+  "created_at": "Mon, 16 Oct 2017 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R630",
   "queues": [
diff --git a/data/grid5000/sites/rennes/clusters/paranoia/paranoia.json b/data/grid5000/sites/rennes/clusters/paranoia/paranoia.json
index 8a7fc86552a..86fc39a0bcb 100644
--- a/data/grid5000/sites/rennes/clusters/paranoia/paranoia.json
+++ b/data/grid5000/sites/rennes/clusters/paranoia/paranoia.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Thu, 20 Feb 2014 23:00:00 GMT",
+  "created_at": "Fri, 21 Feb 2014 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge C6220 II",
   "queues": [
diff --git a/data/grid5000/sites/rennes/clusters/parapide/parapide.json b/data/grid5000/sites/rennes/clusters/parapide/parapide.json
index a45f694c111..f3051e3a4b1 100644
--- a/data/grid5000/sites/rennes/clusters/parapide/parapide.json
+++ b/data/grid5000/sites/rennes/clusters/parapide/parapide.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Sun, 24 Jan 2010 23:00:00 GMT",
+  "created_at": "Mon, 25 Jan 2010 00:00:00 GMT",
   "kavlan": true,
   "model": "SUN FIRE X2270",
   "queues": [
diff --git a/data/grid5000/sites/rennes/clusters/parapluie/parapluie.json b/data/grid5000/sites/rennes/clusters/parapluie/parapluie.json
index d9d25a22579..0f3f67c56d7 100644
--- a/data/grid5000/sites/rennes/clusters/parapluie/parapluie.json
+++ b/data/grid5000/sites/rennes/clusters/parapluie/parapluie.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Mon, 01 Nov 2010 23:00:00 GMT",
+  "created_at": "Tue, 02 Nov 2010 00:00:00 GMT",
   "kavlan": true,
   "model": "HP ProLiant DL165 G7",
   "queues": [
diff --git a/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json b/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json
index 7d687d4ae4d..a35afb80d32 100644
--- a/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json
+++ b/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Mon, 12 Jan 2015 23:00:00 GMT",
+  "created_at": "Tue, 13 Jan 2015 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R630",
   "queues": [
diff --git a/data/grid5000/sites/rennes/clusters/paravance/paravance.json b/data/grid5000/sites/rennes/clusters/paravance/paravance.json
index 11d636f9dcd..67e1a6f033e 100644
--- a/data/grid5000/sites/rennes/clusters/paravance/paravance.json
+++ b/data/grid5000/sites/rennes/clusters/paravance/paravance.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Mon, 12 Jan 2015 23:00:00 GMT",
+  "created_at": "Tue, 13 Jan 2015 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R630",
   "queues": [
diff --git a/data/grid5000/sites/sophia/clusters/suno/suno.json b/data/grid5000/sites/sophia/clusters/suno/suno.json
index f6d9a652fd9..30c142b75ec 100644
--- a/data/grid5000/sites/sophia/clusters/suno/suno.json
+++ b/data/grid5000/sites/sophia/clusters/suno/suno.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Tue, 26 Jan 2010 23:00:00 GMT",
+  "created_at": "Wed, 27 Jan 2010 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge R410",
   "queues": [
diff --git a/data/grid5000/sites/sophia/clusters/uvb/uvb.json b/data/grid5000/sites/sophia/clusters/uvb/uvb.json
index c1b9464e63d..98b5680969d 100644
--- a/data/grid5000/sites/sophia/clusters/uvb/uvb.json
+++ b/data/grid5000/sites/sophia/clusters/uvb/uvb.json
@@ -1,5 +1,5 @@
 {
-  "created_at": "Mon, 03 Jan 2011 23:00:00 GMT",
+  "created_at": "Tue, 04 Jan 2011 00:00:00 GMT",
   "kavlan": true,
   "model": "Dell PowerEdge C6100",
   "queues": [
diff --git a/lib/refrepo/gen/reference-api.rb b/lib/refrepo/gen/reference-api.rb
index a9c1c5afa24..e2fc4237c51 100644
--- a/lib/refrepo/gen/reference-api.rb
+++ b/lib/refrepo/gen/reference-api.rb
@@ -95,7 +95,7 @@ def generate_reference_api
     grid_path = Pathname.new(refapi_path)
     grid_path.mkpath()
 
-    write_json(grid_path.join("#{global_hash['uid']}.json"), 
+    write_json(grid_path.join("#{global_hash['uid']}.json"),
                global_hash.reject {|k, v| k == "sites" || k == "network_equipments" || k == "disk_vendor_model_mapping"})
   end
 
@@ -128,7 +128,7 @@ def generate_reference_api
     site_path = Pathname.new(refapi_path).join("sites", site_uid)
     site_path.mkpath()
 
-    write_json(site_path.join("#{site_uid}.json"), 
+    write_json(site_path.join("#{site_uid}.json"),
                site.reject {|k, v| k == "clusters" || k == "networks" || k == "pdus" || k == "dom0" || k == "laptops" || k == "servers" })
 
     #
@@ -189,7 +189,7 @@ def generate_reference_api
 
       # On the previous version of this script, cluster["created_ad"] was generated from a Ruby Time. cluster["created_ad"] is now a Ruby Date at JSON import.
       # As Date.httpdate and Time.httpdate does not behave the same with timezone, it is converted here as a Ruby time.
-      cluster["created_at"] = Time.parse(cluster["created_at"].to_s).httpdate
+      cluster["created_at"] = Date.parse(cluster["created_at"].to_s).httpdate
 
       cluster_path = Pathname.new(refapi_path).join("sites", site_uid, "clusters", cluster_uid)
       cluster_path.mkpath()
@@ -224,7 +224,7 @@ def generate_reference_api
 
           # Delete keys
           #raise 'node["storage_devices"] is nil' if node["storage_devices"].nil?
-          Hash(node["storage_devices"]).keys.each { |key| 
+          Hash(node["storage_devices"]).keys.each { |key|
             node["storage_devices"][key].delete("timeread")  if node["storage_devices"][key].key?("timeread")
             node["storage_devices"][key].delete("timewrite") if node["storage_devices"][key].key?("timewrite")
           }
-- 
GitLab