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

Take utcOffset into account when creating a defaultPreSelection date #921

Merged
merged 2 commits into from
Jul 10, 2017
Merged

Take utcOffset into account when creating a defaultPreSelection date #921

merged 2 commits into from
Jul 10, 2017

Conversation

greg-a-smith
Copy link

Fixes issue #920 .

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@c450d9a). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #921   +/-   ##
=========================================
  Coverage          ?   85.47%           
=========================================
  Files             ?       12           
  Lines             ?      606           
  Branches          ?      115           
=========================================
  Hits              ?      518           
  Misses            ?        4           
  Partials          ?       84
Impacted Files Coverage Δ
src/datepicker.jsx 91.71% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c450d9a...e698f78. Read the comment docs.

@greg-a-smith
Copy link
Author

Since the issue depends on a local environment's current date/time, I'm not quite sure how to replicate that in a unit test. Passing a date in doesn't work because the fix is only hit when no date is passed in.

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.

3 participants