Skip to content

Commit

Permalink
Merge pull request #441 from keen/fix/relative-time-list
Browse files Browse the repository at this point in the history
fix: 🐛 relative time list and typos
  • Loading branch information
Artur Pryka authored Oct 5, 2020
2 parents 57503bb + 77bc4f8 commit 29e90c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ test('shows message about including current interval in timeframe', () => {
wrapper: { getByText },
} = render({ units: 'years' });

expect(getByText('(Include current year)')).toBeInTheDocument();
expect(getByText('(Includes current year)')).toBeInTheDocument();
});

test('shows timeframe settings', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"label": "Last",
"todayIncludes": "(Includes today)",
"relativityTitle": "Include current"
"relativityTitle": "Includes current"
}
6 changes: 3 additions & 3 deletions lib/js/app/queryCreator/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export const ANALYSIS_TYPES: Analysis[] = [

export const TIME_UNITS = {
minute: 'minutes',
month: 'months',
hour: 'hours',
year: 'years',
week: 'weeks',
day: 'days',
week: 'weeks',
month: 'months',
year: 'years',
};

0 comments on commit 29e90c7

Please sign in to comment.