diff options
| author | Kamran Ahmed <kamranahmed.se@gmail.com> | 2018-08-29 22:19:16 +0500 |
|---|---|---|
| committer | Kamran Ahmed <kamranahmed.se@gmail.com> | 2018-08-29 22:19:16 +0500 |
| commit | dbad97da47b8e6fecb1a75ce7d8466929036ab94 (patch) | |
| tree | 7f641584f1c9fdb20717481263691e2a98ed10dd /src/components | |
| parent | View switch UI fixes (diff) | |
| download | githunt-dbad97da47b8e6fecb1a75ce7d8466929036ab94.tar.gz | |
Date filter fix
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/group-heading/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/group-heading/index.js b/src/components/group-heading/index.js index b9f5006..d4adea8 100644 --- a/src/components/group-heading/index.js +++ b/src/components/group-heading/index.js @@ -25,9 +25,9 @@ class GroupHeading extends React.Component { const formattedDate = startMoment.fromNow(); if (formattedDate === 'a year ago') { return 'Last year'; - } else if (formattedDate === '6 days ago') { + } else if (formattedDate === '7 days ago') { return 'This week'; - } else if (formattedDate === '13 days ago') { + } else if (formattedDate === '14 days ago') { return 'Last week'; } |
