forked from tykayn/funky-framadate-front
format date helper
This commit is contained in:
parent
65fbb6322b
commit
3faecc4035
@ -6,7 +6,9 @@
|
|||||||
<label class="pull-left" for="dateChoices_{{ id }}">
|
<label class="pull-left" for="dateChoices_{{ id }}">
|
||||||
{{ 'dates.element' | translate }} {{ id + 1 }}
|
{{ 'dates.element' | translate }} {{ id + 1 }}
|
||||||
</label>
|
</label>
|
||||||
<span class="format-helper pull-right">{{ 'dates.format_helper' | translate }}</span>
|
<p class="format-helper pull-right" id="format-date-{{ id }}">
|
||||||
|
{{ 'dates.format_helper' | translate }}
|
||||||
|
</p>
|
||||||
<input
|
<input
|
||||||
[ngModel]="choice.date_object | date: 'yyyy-MM-dd'"
|
[ngModel]="choice.date_object | date: 'yyyy-MM-dd'"
|
||||||
(ngModelChange)="convertDateInput($event, id)"
|
(ngModelChange)="convertDateInput($event, id)"
|
||||||
|
Loading…
Reference in New Issue
Block a user