[Groonga-commit] droonga/droonga-client-ruby at 3059b08 [master] Fixup "date" at the envelope with the format same to droonag-engine's internal format

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 8 15:16:34 JST 2015


YUKI Hiroshi	2015-04-08 15:16:34 +0900 (Wed, 08 Apr 2015)

  New Revision: 3059b084296b54aa11e1819e0c905d6bbd7a4f85
  https://github.com/droonga/droonga-client-ruby/commit/3059b084296b54aa11e1819e0c905d6bbd7a4f85

  Message:
    Fixup "date" at the envelope with the format same to droonag-engine's internal format

  Modified files:
    lib/droonga/client/message_completer.rb

  Modified: lib/droonga/client/message_completer.rb (+3 -1)
===================================================================
--- lib/droonga/client/message_completer.rb    2015-01-16 18:37:50 +0900 (227bd2a)
+++ lib/droonga/client/message_completer.rb    2015-04-08 15:16:34 +0900 (a5ea322)
@@ -36,8 +36,10 @@ module Droonga
         Time.now.to_f.to_s
       end
 
+      MICRO_SECONDS_DECIMAL_PLACE = 6
+
       def new_date
-        Time.now.iso8601
+        Time.now.utc.iso8601(MICRO_SECONDS_DECIMAL_PLACE)
       end
     end
   end
-------------- next part --------------
HTML����������������������������...
Download 



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