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

Added GraphQL Support + Bugfix #10

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

mathg
Copy link

@mathg mathg commented Oct 17, 2023

Context

There was a bug in the rrule function that needed to be fixed and also added GraphQL support to at least return next and all occurrences through the api.

Added

  • Calendarize Type for Graphql. It returns the next occurence in the form of an array of timestamps [start, end]. It also returns an array of all occurrences in the form of an array of array of [start, end].

Fixed

  • In the CalendarizeModel rrule() function there was an error in the config where when there were no repeats, the UNTIL was using startDate instead of endDate
  • In the javascript file, when adding a TimeException or an Exception, the format of the date was M/D/Y which would crash when revisiting the page after saving. Changed the format to Y-M-D.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant