diff options
| -rw-r--r-- | src/components/group-heading/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/group-heading/index.js b/src/components/group-heading/index.js index 2ba89a2..cca5c03 100644 --- a/src/components/group-heading/index.js +++ b/src/components/group-heading/index.js @@ -25,6 +25,10 @@ class GroupHeading extends React.Component { const formattedDate = startMoment.fromNow(); if (formattedDate === 'a year ago') { return 'Last Year'; + } else if (formattedDate === 'a month ago') { + return 'This Month'; + } else if (formattedDate === '6 days ago') { + return 'This Week'; } return formattedDate; |
