Skip to content

fix(event): fix since field incorrect #687

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

e11sy
Copy link
Contributor

@e11sy e11sy commented Apr 3, 2025

Problem

image Now since day is incorrect, it displays timestamp of the last repetition It happens because we merge payload of the original event with the payload of the repetition (and timestamp overwrites)

Solution

In current realisation we can save timestamp field from the original event payload and make sure, that repetition payload does not overwrite the original timestamp

  • Now saving original event timestamp and on repetition merge writing original timestamp to payload
image

Note

Probably could be solved by moving timestamp out of the payload, but it is not designed

- we have timestamp inside of the event.payload, so on repetition fetch, we update (state.list[key] = event.payload) to payload of the repetition, and it updates timestamp
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.

1 participant