File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ dayjs.extend(timeZone);
7
7
8
8
const filters = {
9
9
second2Date : ( sec ) => {
10
- return dayjs ( sec * 1000 ) . utc ( true ) . local ( ) . format ( "YYYY-MM-DD HH:mm:ss" ) ;
10
+ return dayjs ( sec * 1000 ) . utc ( ) . local ( ) . format ( "YYYY-MM-DD HH:mm:ss" ) ;
11
11
} ,
12
12
second2YearMonth : ( sec ) => {
13
- return dayjs ( sec * 1000 ) . utc ( true ) . local ( ) . format ( "YYYY-MM" )
13
+ return dayjs ( sec * 1000 ) . utc ( ) . local ( ) . format ( "YYYY-MM" )
14
14
} ,
15
15
second2ChineseYearMonth : ( sec ) => {
16
- return dayjs ( sec * 1000 ) . utc ( true ) . tz ( "Asia/Shanghai" ) . format ( "YYYY年MM月DD日 E 中国标准时间 a hh:mm:ss" )
16
+ return dayjs ( sec * 1000 ) . utc ( ) . tz ( "Asia/Shanghai" ) . format ( "YYYY年MM月DD日 E 中国标准时间 a hh:mm:ss" )
17
17
} ,
18
18
privacyPhoneNum : ( num ) => {
19
19
var reg = / ^ ( \d { 3 } ) \d { 4 } ( \d { 4 } ) $ / ;
You can’t perform that action at this time.
0 commit comments