Commit 62cf8c51 authored by Jose Vargas's avatar Jose Vargas

Change date time picker units

This changes the week and month display
times to use day ranges, e.g. 1 week ->
7 days
parent 1e63ff75
...@@ -41,13 +41,13 @@ export const timeRanges = [ ...@@ -41,13 +41,13 @@ export const timeRanges = [
interval: INTERVALS.hour, interval: INTERVALS.hour,
}, },
{ {
label: __('1 week'), label: __('7 days'),
duration: { seconds: 60 * 60 * 24 * 7 * 1 }, duration: { seconds: 60 * 60 * 24 * 7 * 1 },
name: 'oneWeek', name: 'oneWeek',
interval: INTERVALS.day, interval: INTERVALS.day,
}, },
{ {
label: __('1 month'), label: __('30 days'),
duration: { seconds: 60 * 60 * 24 * 30 }, duration: { seconds: 60 * 60 * 24 * 30 },
name: 'oneMonth', name: 'oneMonth',
interval: INTERVALS.day, interval: INTERVALS.day,
......
---
title: Change date time picker units
merge_request: 38232
author:
type: changed
...@@ -949,9 +949,6 @@ msgid_plural "%d minutes" ...@@ -949,9 +949,6 @@ msgid_plural "%d minutes"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
msgid "1 month"
msgstr ""
msgid "1 open issue" msgid "1 open issue"
msgid_plural "%{issues} open issues" msgid_plural "%{issues} open issues"
msgstr[0] "" msgstr[0] ""
...@@ -977,9 +974,6 @@ msgid_plural "%{num} users" ...@@ -977,9 +974,6 @@ msgid_plural "%{num} users"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
msgid "1 week"
msgstr ""
msgid "1-9 contributions" msgid "1-9 contributions"
msgstr "" msgstr ""
...@@ -1004,6 +998,9 @@ msgstr "" ...@@ -1004,6 +998,9 @@ msgstr ""
msgid "3 hours" msgid "3 hours"
msgstr "" msgstr ""
msgid "30 days"
msgstr ""
msgid "30 minutes" msgid "30 minutes"
msgstr "" msgstr ""
...@@ -1025,6 +1022,9 @@ msgstr "" ...@@ -1025,6 +1022,9 @@ msgstr ""
msgid "404|Please contact your GitLab administrator if you think this is a mistake." msgid "404|Please contact your GitLab administrator if you think this is a mistake."
msgstr "" msgstr ""
msgid "7 days"
msgstr ""
msgid "8 hours" msgid "8 hours"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment