Navigation Menu

Skip to content

Commit

Permalink
Fixup "date" at the envelope with the format same to droonag-engine's…
Browse files Browse the repository at this point in the history
… internal format
  • Loading branch information
piroor committed Apr 8, 2015
1 parent 4a58b5b commit 3059b08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/droonga/client/message_completer.rb
Expand Up @@ -36,8 +36,10 @@ def generate_id
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
Expand Down

0 comments on commit 3059b08

Please sign in to comment.