YUKI Hiroshi
null+****@clear*****
Thu Sep 12 11:37:18 JST 2013
YUKI Hiroshi 2013-09-12 11:37:18 +0900 (Thu, 12 Sep 2013) New Revision: fb77ca6c8a359985e21d6401e5cf766b306d02fb https://github.com/droonga/fluent-plugin-droonga/commit/fb77ca6c8a359985e21d6401e5cf766b306d02fb Message: Fill "date" field of the envelope automatically Modified files: lib/groonga_command_converter.rb Modified: lib/groonga_command_converter.rb (+2 -1) =================================================================== --- lib/groonga_command_converter.rb 2013-09-12 11:35:22 +0900 (1068c0e) +++ lib/groonga_command_converter.rb 2013-09-12 11:37:18 +0900 (e0d9a4f) @@ -17,6 +17,7 @@ require "groonga/command" require "digest/sha1" +require "date" module Droonga class GroongaCommandConverter @@ -62,7 +63,7 @@ module Droonga end def current_date - nil + DateTime.now.to_s end def create_table_create_command -------------- next part -------------- HTML����������������������������... 下载