mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-04 08:58:40 +02:00
Only reset dates for poll that haven’t been edited
This commit is contained in:
parent
033c01148b
commit
e669c0dc11
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ export default withLink(
|
|||
if (
|
||||
poll.legacy &&
|
||||
// has converted options without timezone
|
||||
poll.options.some(({ value }) => value.indexOf("T") === -1)
|
||||
poll.options.every(({ value }) => value.indexOf("T") === -1)
|
||||
) {
|
||||
// We need to reset the dates for polls that lost their timezone data because some users
|
||||
// of the old version will end up seeing the wrong dates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue