diff --git a/package.json b/package.json index a472665b..de4243c2 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "@fullcalendar/core": "^4.3.1", "@ngx-translate/core": "^11.0.1", "@ngx-translate/http-loader": "^4.0.0", + "angular-date-value-accessor": "^0.0.2", "chart.js": "^2.8.0", "font-awesome": "^4.7.0", "ngx-clipboard": "^12.3.0", diff --git a/src/app/app.module.ts b/src/app/app.module.ts index ddb2c98e..07094b7b 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -53,6 +53,7 @@ import {ClipboardModule} from "ngx-clipboard"; import {ErasableInputComponent} from './ui/erasable-input/erasable-input.component'; import {ConfirmDialogModule} from 'primeng/confirmdialog'; import {DialogModule} from 'primeng/dialog'; +import {DateValueAccessorModule} from "angular-date-value-accessor"; export class MyMissingTranslationHandler implements MissingTranslationHandler { handle(params: MissingTranslationHandlerParams) { @@ -104,6 +105,7 @@ export function HttpLoaderFactory(http: HttpClient) { CommonModule, BrowserModule, DialogModule, + DateValueAccessorModule, BrowserAnimationsModule, AppRoutingModule, ToastModule, diff --git a/src/app/pages/dates/dates.component.html b/src/app/pages/dates/dates.component.html index 64c7fa10..0fbddcbe 100644 --- a/src/app/pages/dates/dates.component.html +++ b/src/app/pages/dates/dates.component.html @@ -86,15 +86,36 @@ {{"dates.count_time"|translate}} (pour chaque jour) + + +
+ +
@@ -135,12 +156,10 @@ -
-        choice.literal :
-            {{choice.literal|json}}
-