Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

PersistenceTransforms for date in datePickerRange and datePickerSingle #848

Closed
wants to merge 37 commits into from

Conversation

harryturr
Copy link
Contributor

@harryturr harryturr commented Aug 21, 2020

In conjunction with plotly/dash#1376, fixes #700.

The persistence logic in DatePickerRange and DatePickerSingle have been modified to extract/apply just the date portion of the date-time. This will provide stability to date pickers (eg defined in callbacks) for the entire day they are defined.

rpkyle and others added 30 commits October 1, 2019 11:21
# Conflicts:
#	DESCRIPTION
# Conflicts:
#	package-lock.json
# Conflicts:
#	.gitignore
#	CHANGELOG.md
#	package-lock.json
#	package.json
@harryturr harryturr changed the title Returning date not date-time in datePickerRange and datePickerSingle PersistenceTransforms for date in datePickerRange and datePickerSingle Aug 25, 2020
@@ -80,7 +80,7 @@ jobs:
command: |
. venv/bin/activate && mkdir packages
# build main dash
git clone --depth 1 https://github.com/plotly/dash.git dash-main
git clone -b persistence-hg --depth 1 https://github.com/plotly/dash.git dash-main
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing with Dash branch plotly/dash#1376.

@harryturr harryturr marked this pull request as ready for review August 25, 2020 12:53
@harryturr harryturr marked this pull request as draft August 25, 2020 13:40
@harryturr harryturr marked this pull request as ready for review August 25, 2020 13:41
@harryturr harryturr changed the base branch from dev to 700-persistence August 25, 2020 15:04
@harryturr harryturr changed the base branch from 700-persistence to dev August 25, 2020 15:05
@harryturr harryturr marked this pull request as draft August 25, 2020 16:09
@harryturr harryturr closed this Aug 25, 2020
@harryturr harryturr deleted the persistence-hg branch October 7, 2020 14:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dcc.DatePickerSingle() persistence not working
3 participants