[Groonga-commit] groonga/groonga at a9f8356 [master] test time_format: remove timezone

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Wed Apr 11 18:37:42 JST 2018


Kouhei Sutou	2018-04-11 18:37:42 +0900 (Wed, 11 Apr 2018)

  New Revision: a9f8356c5936f6d284ae505f7164b087f41a6ed7
  https://github.com/groonga/groonga/commit/a9f8356c5936f6d284ae505f7164b087f41a6ed7

  Message:
    test time_format: remove timezone
    
    It's too platform specific.

  Modified files:
    test/command/suite/select/function/time/time_format/iso8601.expected
    test/command/suite/select/function/time/time_format/iso8601.test

  Modified: test/command/suite/select/function/time/time_format/iso8601.expected (+6 -6)
===================================================================
--- test/command/suite/select/function/time/time_format/iso8601.expected    2018-04-11 18:27:04 +0900 (10daf139c)
+++ test/command/suite/select/function/time/time_format/iso8601.expected    2018-04-11 18:37:42 +0900 (7aab0dc3f)
@@ -36,27 +36,27 @@ select Timestamps   --sortby _id   --limit -1   --output_columns '_key, time_for
       ],
       [
         1462460399.999999,
-        "2016-05-05T23:59:59+0900"
+        "2016-05-05T23:59:59"
       ],
       [
         1462460400.0,
-        "2016-05-06T00:00:00+0900"
+        "2016-05-06T00:00:00"
       ],
       [
         1462460400.000001,
-        "2016-05-06T00:00:00+0900"
+        "2016-05-06T00:00:00"
       ],
       [
         1462546799.999999,
-        "2016-05-06T23:59:59+0900"
+        "2016-05-06T23:59:59"
       ],
       [
         1462546800.0,
-        "2016-05-07T00:00:00+0900"
+        "2016-05-07T00:00:00"
       ],
       [
         1462546800.000001,
-        "2016-05-07T00:00:00+0900"
+        "2016-05-07T00:00:00"
       ]
     ]
   ]

  Modified: test/command/suite/select/function/time/time_format/iso8601.test (+1 -1)
===================================================================
--- test/command/suite/select/function/time/time_format/iso8601.test    2018-04-11 18:27:04 +0900 (447053417)
+++ test/command/suite/select/function/time/time_format/iso8601.test    2018-04-11 18:37:42 +0900 (056608dcb)
@@ -15,4 +15,4 @@ load --table Timestamps
 select Timestamps \
   --sortby _id \
   --limit -1 \
-  --output_columns '_key, time_format(_key, "%Y-%m-%dT%H:%M:%S%z")'
+  --output_columns '_key, time_format(_key, "%Y-%m-%dT%H:%M:%S")'
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180411/5554a48b/attachment-0001.htm 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る