issues
search
digithun
/
clogii-mobile
Refactored version of the official F8 app of 2016, powered by React Native and the Apollo Stack.
Other
2
stars
1
forks
source link
[Module] Timestamp on Feed, Notification, Comment and Activity
#50
Closed
luna-ci
closed
7 years ago
luna-ci
commented
7 years ago
Format Timestamp Condition
[x] <= 1 min use "Just Now"
[x] > 1 min & < 60 mins use "X/XX mins ago " (X is number of digit 1 or 2 digits)
[x] >= 60 mins & < 2 hrs use "X hr ago"
[x] >= 2 hrs & < 12 hrs use "XX hrs ago"
[x] >= 12 hrs & < 24 hrs use "Today at HH:MM"
[x] >= 24 hrs & < 48 hrs use "Yesterday at HH:MM" (HH is 24 hours)
[x] >= 48 hrs use " Day Month at HH:MM"
katopz
commented
7 years ago
@karrung use moment
Format Timestamp Condition