{{ event.timestart | coreToLocaleString }}
+{{ event.timestart * 1000 | coreFormatDate }}
{{ (event.timestart + event.timeduration) | coreToLocaleString }}
+{{ (event.timestart + event.timeduration) * 1000 | coreFormatDate }}
{{ event.timestart * 1000 | coreFormatDate: "strftimetime" }} - {{ (event.timestart + event.timeduration) * 1000 | coreFormatDate: "strftimetime" }} - - {{ (event.timestart + event.timeduration) | coreToLocaleString }} + - {{ (event.timestart + event.timeduration) * 1000 | coreFormatDate: "strftimedatetimeshort" }}
diff --git a/src/pipes/to-locale-string.ts b/src/pipes/to-locale-string.ts index 19c3434fb..6a881c468 100644 --- a/src/pipes/to-locale-string.ts +++ b/src/pipes/to-locale-string.ts @@ -17,6 +17,7 @@ import { CoreLoggerProvider } from '@providers/logger'; /** * Filter to format a timestamp to a locale string. Timestamp can be in seconds or milliseconds. + * @deprecated since 3.6. Use coreFormatDate instead. */ @Pipe({ name: 'coreToLocaleString',