Skip to content

fix(datepicker): handle date ranges across multiple months - #18404

Merged
crisbeto merged 1 commit into
angular:date-rangefrom
crisbeto:date-range-across-views
Feb 6, 2020
Merged

fix(datepicker): handle date ranges across multiple months#18404
crisbeto merged 1 commit into
angular:date-rangefrom
crisbeto:date-range-across-views

Conversation

@crisbeto

@crisbeto crisbeto commented Feb 5, 2020

Copy link
Copy Markdown
Member

Currently we don't handle date ranges across months, because we store the date cell's value as the date in the current month. These changes add another value that will be used comparisons and which is based on the time since epoch.

@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent pr: merge safe labels Feb 5, 2020
@crisbeto
crisbeto requested a review from mmalerba as a code owner February 5, 2020 21:41
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 5, 2020
@crisbeto
crisbeto force-pushed the date-range-across-views branch from e69b0a5 to e8534f5 Compare February 5, 2020 23:01
Currently we don't handle date ranges across months, because we store the date cell's value as the date in the current month. These changes add another value that will be used comparisons and which is based on the time since epoch.
@crisbeto
crisbeto force-pushed the date-range-across-views branch from e8534f5 to d77eddf Compare February 5, 2020 23:02
@mmalerba mmalerba added pr: lgtm action: merge The PR is ready for merge by the caretaker labels Feb 6, 2020
@crisbeto
crisbeto merged commit 1888771 into angular:date-range Feb 6, 2020
crisbeto added a commit that referenced this pull request Feb 17, 2020
Currently we don't handle date ranges across months, because we store the date cell's value as the date in the current month. These changes add another value that will be used comparisons and which is based on the time since epoch.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Feb 17, 2020
…8404)

Currently we don't handle date ranges across months, because we store the date cell's value as the date in the current month. These changes add another value that will be used comparisons and which is based on the time since epoch.
crisbeto added a commit that referenced this pull request Feb 26, 2020
Currently we don't handle date ranges across months, because we store the date cell's value as the date in the current month. These changes add another value that will be used comparisons and which is based on the time since epoch.
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Mar 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants