Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
2016-07-08 11:59:02 +0800
Commit
f1fb313ba4221e441d45ae2e8df6c4c4c9900ddd
1 parent
33f7e711
专题活动倒计时支持年
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
utils/time-process.js
utils/time-process.js
View file @
f1fb313
@@ -7,7 +7,7 @@
@@ -7,7 +7,7 @@
7
const
helpers
=
global
.
yoho
.
helpers
;
7
const
helpers
=
global
.
yoho
.
helpers
;
8
8
9
const
timeFormat
=
{
9
const
timeFormat
=
{
10
-
y
:
'剩{y}年{d}天'
,
10
+
y
:
'剩{y}年{
M}月{
d}天'
,
11
d
:
'剩{d}天'
,
11
d
:
'剩{d}天'
,
12
h
:
'剩{h}小时'
,
12
h
:
'剩{h}小时'
,
13
m
:
'剩{m}分钟'
,
13
m
:
'剩{m}分钟'
,
Please
register
or
login
to post a comment