Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
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
Plain Diff
Browse Files
Authored by
于良
2016-08-09 19:08:00 +0800
Commit
60da995e1f52ddea106cbc1a003e9c042d45a403
2 parents
9d51df3b
2023d09e
Merge branch 'local' into develop
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
js/community/utils/timeago.js
js/community/utils/timeago.js
View file @
60da995
...
...
@@ -8,7 +8,7 @@ export default function timeago(timestamp) {
let
isNSecondsAgo
=
timeagoStr
.
indexOf
(
'秒'
);
if
(
timeagoStr
===
'刚刚'
||
isNSecondsAgo
!==
-
1
)
{
return
'
1分钟前
'
;
return
'
刚刚
'
;
}
if
(
timeagoStr
===
'1天前'
)
{
...
...
Please
register
or
login
to post a comment