Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

fix a problem with maxDatetime badly initialized when TZ is set #334

Open
wants to merge 1 commit into
base: kibana-ruby
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/lib/js/ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ function datepickers(from,to) {

$('#timeto').datetimeEntry({
minDatetime: $('#timefrom').datetimeEntry('getDatetime'),
maxDatetime: utc_date_obj(new Date()),
maxDatetime: utc_date_obj(new Date(to - tOffset)),
datetimeFormat: 'Y-O-D H:M:S',
spinnerImage: ''
},to);
Expand Down