Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
fix: Calendar widget is displayed wrong week days on analytics filters
Browse files Browse the repository at this point in the history
  • Loading branch information
aelamrani committed Nov 20, 2018
1 parent 6f892de commit 7934222
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/dashboard/dashboard-timeframe.html
Expand Up @@ -56,7 +56,7 @@
<md-input-container style="margin-bottom: 0;">
<label>from</label>
<input moment-picker="$ctrl.pickerStartDateFormated"
locale="en"
locale="en-gb"
format="YYYY-MM-DD HH:mm"
max-date="$ctrl.pickerEndDate"
ng-model="$ctrl.pickerStartDate"
Expand All @@ -65,7 +65,7 @@
<md-input-container style="margin-bottom: 0;">
<label>to</label>
<input moment-picker="$ctrl.pickerEndDateFormated"
locale="en"
locale="en-gb"
format="YYYY-MM-DD HH:mm"
min-date="$ctrl.pickerStartDate"
max-date="$ctrl.now"
Expand Down
4 changes: 2 additions & 2 deletions src/components/logs/logs-timeframe.html
Expand Up @@ -28,7 +28,7 @@
<md-input-container style="margin-bottom: 0;">
<label>from</label>
<input moment-picker="$ctrl.pickerStartDateFormated"
locale="en"
locale="en-gb"
format="YYYY-MM-DD HH:mm"
max-date="$ctrl.pickerEndDate"
ng-model="$ctrl.pickerStartDate"
Expand All @@ -37,7 +37,7 @@
<md-input-container style="margin-bottom: 0;">
<label>to</label>
<input moment-picker="$ctrl.pickerEndDateFormated"
locale="en"
locale="en-gb"
format="YYYY-MM-DD HH:mm"
min-date="$ctrl.pickerStartDate"
max-date="$ctrl.now"
Expand Down
Expand Up @@ -102,7 +102,7 @@ <h4>Logging condition editor</h4>
<md-input-container style="margin-bottom: 0;">
<span>Logging is ended at: </span>
<input moment-picker="pickerStartDateFormated"
locale="en"
locale="en-gb"
format="YYYY-MM-DD HH:mm"
ng-model="condition.param1"
ng-model-options="{ updateOn: 'blur' }">
Expand Down

0 comments on commit 7934222

Please sign in to comment.