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

Introducing EventDateTime #143

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

OliverBanjo
Copy link

This would be a first step as an example to dividing the CalendarDateTime class for interoperability and reusability, to align with SS4 principles.

Introducing new super class EventDateTime . See unclecheese/silverstripe-event-calendar issue 140.

Time & date specific fields ($db properties) and reusable functionality tied to those properties moved to EventDateTime. ie CalendarDateTime methods with reference to Event() or that are relevant to CalendarAnnouncement remain.

Have included a reversible migration task to assist with moving table fields to the new intermediary tier.

This would be a first step as an example to dividing the CalendarDateTime class for interoperability and reusability, to align with SS4 principles. Introducing new super class EventDateTime . See unclecheese/silverstripe-event-calendar  issue 140.

Time & date specific fields ($db properties) and reusable functionality tied to those properties moved to EventDateTime. ie CalendarDateTime methods with reference to Event() remain.

Have included a reversible migration task to assist with moving table fields to the new intermediary tier.
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