Fix date timezones to avoid operation saved on the day before the one entered.
This commit is contained in:
parent
4fed3c9320
commit
7ace852f43
@ -27,7 +27,7 @@
|
|||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<input class="form-control" id="operation-date" name="operation_date"
|
<input class="form-control" id="operation-date" name="operation_date"
|
||||||
type="text" ng-model="$ctrl.operation.operation_date"
|
type="text" ng-model="$ctrl.operation.operation_date"
|
||||||
bs-datepicker data-date-format="yyyy-MM-dd"
|
bs-datepicker data-date-format="yyyy-MM-dd" data-timezone="UTC"
|
||||||
placeholder="Operation date">
|
placeholder="Operation date">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<input class="form-control" id="start-date" name="start_date"
|
<input class="form-control" id="start-date" name="start_date"
|
||||||
type="text" ng-model="$ctrl.operation.start_date"
|
type="text" ng-model="$ctrl.operation.start_date"
|
||||||
bs-datepicker data-date-format="yyyy-MM-dd"
|
bs-datepicker data-date-format="yyyy-MM-dd" data-timezone="UTC"
|
||||||
placeholder="Scheduled operation start date">
|
placeholder="Scheduled operation start date">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -37,7 +37,7 @@
|
|||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<input class="form-control" id="stop-date" name="stop_date"
|
<input class="form-control" id="stop-date" name="stop_date"
|
||||||
type="text" ng-model="$ctrl.operation.stop_date"
|
type="text" ng-model="$ctrl.operation.stop_date"
|
||||||
bs-datepicker data-date-format="yyyy-MM-dd"
|
bs-datepicker data-date-format="yyyy-MM-dd" data-timezone="UTC"
|
||||||
placeholder="Scheduled operation stop date">
|
placeholder="Scheduled operation stop date">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user