[Groonga-commit] droonga/fluent-plugin-droonga at 21f29bd [master] test: use UTC to work on Travis CI

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Nov 21 12:21:27 JST 2013


Kouhei Sutou	2013-11-21 12:21:27 +0900 (Thu, 21 Nov 2013)

  New Revision: 21f29bd8cb89bbf824dedbf5b87fdc164f87d89e
  https://github.com/droonga/fluent-plugin-droonga/commit/21f29bd8cb89bbf824dedbf5b87fdc164f87d89e

  Message:
    test: use UTC to work on Travis CI

  Modified files:
    test/unit/test_groonga_command_converter.rb

  Modified: test/unit/test_groonga_command_converter.rb (+2 -2)
===================================================================
--- test/unit/test_groonga_command_converter.rb    2013-11-21 12:14:24 +0900 (4f48e08)
+++ test/unit/test_groonga_command_converter.rb    2013-11-21 12:21:27 +0900 (49d2e68)
@@ -221,11 +221,11 @@ column_create Terms Users_name COLUMN_INDEX|WITH_POSITION Users name
 
   private
   def date
-    Time.new(2013, 11, 29, 0, 0, 0)
+    Time.utc(2013, 11, 29, 0, 0, 0)
   end
 
   def formatted_date
-    "2013-11-29T00:00:00+09:00"
+    "2013-11-29T00:00:00Z"
   end
 
   def reply_to
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index