2019-08-12 19:34:23 +03:00
|
|
|
<!--
|
|
|
|
|
|
2024-01-09 10:46:16 +02:00
|
|
|
Copyright © 2016-2024 The Thingsboard Authors
|
2019-08-12 19:34:23 +03:00
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
|
limitations under the License.
|
|
|
|
|
|
|
|
|
|
-->
|
2025-02-06 19:50:36 +02:00
|
|
|
<section class="tb-form-row column-xs no-border no-padding tb-standard-fields" [formGroup]="dateTimePeriodFormGroup">
|
2024-08-12 18:18:21 +03:00
|
|
|
<mat-form-field class="flex" [subscriptSizing]="subscriptSizing" [appearance]="appearance">
|
2024-08-02 17:54:56 +03:00
|
|
|
<mat-label translate>datetime.from</mat-label>
|
|
|
|
|
<mat-datetimepicker-toggle [for]="startDatePicker" matSuffix></mat-datetimepicker-toggle>
|
|
|
|
|
<mat-datetimepicker #startDatePicker type="datetime" openOnFocus="true"></mat-datetimepicker>
|
2025-02-06 19:50:36 +02:00
|
|
|
<input matInput formControlName="startDate" [matDatetimepicker]="startDatePicker" [max]="maxStartDate">
|
2019-08-12 19:34:23 +03:00
|
|
|
</mat-form-field>
|
2024-08-12 18:18:21 +03:00
|
|
|
<mat-form-field class="flex" [subscriptSizing]="subscriptSizing" [appearance]="appearance">
|
2024-08-02 17:54:56 +03:00
|
|
|
<mat-label translate>datetime.to</mat-label>
|
|
|
|
|
<mat-datetimepicker-toggle [for]="endDatePicker" matSuffix></mat-datetimepicker-toggle>
|
|
|
|
|
<mat-datetimepicker #endDatePicker type="datetime" openOnFocus="true"></mat-datetimepicker>
|
2025-02-06 19:50:36 +02:00
|
|
|
<input matInput formControlName="endDate" [matDatetimepicker]="endDatePicker" [max]="maxEndDate">
|
2019-08-12 19:34:23 +03:00
|
|
|
</mat-form-field>
|
|
|
|
|
</section>
|