Skip to content

Commit 921531e

Browse files
Merge pull request #48 from jfrolich/microseconds
convert index alias to microseconds
2 parents 18f3c51 + 3979520 commit 921531e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elasticsearch/indexing/index.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,6 @@ defmodule Elasticsearch.Index do
287287
end
288288

289289
defp system_timestamp do
290-
DateTime.to_unix(DateTime.utc_now())
290+
DateTime.to_unix(DateTime.utc_now(), :microseconds)
291291
end
292292
end

0 commit comments

Comments
 (0)