From 98a38ec98b35ba0daad73ca1e0fcd9460943f39e Mon Sep 17 00:00:00 2001 From: likui <2218301630@qq.com> Date: Tue, 7 May 2019 15:10:23 +0800 Subject: [PATCH] docs: update date pipe example for minutes and seconds (#30281) (#30295) PR Close #30295 --- packages/common/src/pipes/date_pipe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/src/pipes/date_pipe.ts b/packages/common/src/pipes/date_pipe.ts index 26adb45723..c828564ec2 100644 --- a/packages/common/src/pipes/date_pipe.ts +++ b/packages/common/src/pipes/date_pipe.ts @@ -125,7 +125,7 @@ import {invalidPipeArgumentError} from './invalid_pipe_argument_error'; * {{ dateObj | date }} // output is 'Jun 15, 2015' * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM' * {{ dateObj | date:'shortTime' }} // output is '9:43 PM' - * {{ dateObj | date:'mmss' }} // output is '43:11' + * {{ dateObj | date:'mm:ss' }} // output is '43:11' * ``` * * ### Usage example