Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1679381 - Implement the datetime metric type #20

Merged
merged 6 commits into from
Jan 8, 2021

Conversation

brizental
Copy link
Contributor

This is built on top of #19 thus it is blocked by it.

I am opening anyways to illustrate how the changes added by #19 can be used in a more complex way than the cases in #19 itself.

The commit that matters here is fb5c0e8. All the other are part of #19.

src/metrics/datetime.ts Outdated Show resolved Hide resolved
src/metrics/datetime.ts Outdated Show resolved Hide resolved
@brizental brizental removed the blocked label Jan 7, 2021
src/metrics/datetime.ts Show resolved Hide resolved
src/metrics/datetime.ts Outdated Show resolved Hide resolved
src/metrics/datetime.ts Outdated Show resolved Hide resolved
src/metrics/datetime.ts Outdated Show resolved Hide resolved
src/metrics/datetime.ts Show resolved Hide resolved
src/metrics/time_unit.ts Outdated Show resolved Hide resolved
src/metrics/datetime.ts Show resolved Hide resolved
tests/metrics/datetime.spec.ts Show resolved Hide resolved
brizental added 2 commits January 7, 2021 17:36
The Javascript date object is _always_ relative to the local timezone.
So if the user submitted in a different timezone than the they record
the datetime details (hour, day, etc) were not respected.
@brizental brizental merged commit 5e5a712 into mozilla:main Jan 8, 2021
@brizental brizental deleted the 1679381-datetime-2 branch January 8, 2021 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants