Skip to content

Commit

Permalink
[ML] Adding milliseconds to watch start and end times (#22659) (#22674)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Sep 4, 2018
1 parent b533a3b commit 6034e5e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const watch = {
script: {
lang: 'painless',
inline: `LocalDateTime.ofEpochSecond((doc["timestamp"].date.getMillis()-((doc["bucket_span"].value * 1000)
* params.padding)) / 1000, 0, ZoneOffset.UTC).toString()`,
* params.padding)) / 1000, 0, ZoneOffset.UTC).toString()+\":00.000Z\"`,
params: {
'padding': 10
}
Expand All @@ -93,7 +93,7 @@ export const watch = {
script: {
lang: 'painless',
inline: `LocalDateTime.ofEpochSecond((doc["timestamp"].date.getMillis()+((doc["bucket_span"].value * 1000)
* params.padding)) / 1000, 0, ZoneOffset.UTC).toString()`,
* params.padding)) / 1000, 0, ZoneOffset.UTC).toString()+\":00.000Z\"`,
params: {
'padding': 10
}
Expand Down

0 comments on commit 6034e5e

Please sign in to comment.