Here are some features I would like:

  • Additional Views filter: (a) Is/Is not, a repeating date (b) is a date that repeats daily/weekly/monthly/annually (optional negation)
  • Exclude/Additional dates: (a) Override time (currently, an additional date must be at the same time) (b) Date ranges (eg. I'd like to exclude dates that are not in school terms/semester)
  • Handle days which go past midnight (eg. An event that starts at 10pm and finishes at 2am, is considered to be the same day, and not two consecutive days)
  • Improved formatting options in nodes, by including sufficient <span> class tags. eg. Drupal 6 currently shows:
    <div>Repeats every week every Thursday until Sat Dec 31 2016 . </div>
    The div has no class, and the information is not identified. Should be something like this:
    <div class="date-display-summary">Repeats <span class="date-display-frequency">every week</span> <span class="date-display-dates">every Thursday</span> <span class="date-display-until">until Sat Dec 31 2016</span> . </div>
  • Support for microdata/RDF etc
  • Hooks to process interfacing with Google Calendar!

Comments

handkerchief’s picture

Are there any news about this? I think it's important to have the possibility of repeating dates.

handkerchief’s picture

Priority: Normal » Major
swentel’s picture

Referencing some issues

dawehner’s picture

I mean, I'm not a datetime module maintainer, but given the complexity this feature requires, this really better lives in contrib, IMHO.

iantresman’s picture

I think the Date module is being ported into Drupal 8 where I assume/hope some of these features will become available.

cilefen’s picture

Version: 8.0.x-dev » 8.2.x-dev
mpdonadio’s picture

Right now, this is third in line after the end date and timezone entry issues. I think once we have those in, we will have a better sense of what this could look like. However, I could also see this ending up back in contrib, mainly based on the complexity of the Drupal 7 version of how recurrences are implemented.

tylertrotter’s picture

Would anybody be willing to offer up a ballpark guess of when end date, timezone entry issues, and repeating dates will be ready? I've never used Drupal before but want to switch to 8. I'll need repeating dates before I make the switch and just want to get a feel for the timeline. I'd love to hear a guess from someone who knows some facts on the ground and is familiar with the rhythms of Drupal development. Thanks!

mpdonadio’s picture

We have a change of game plan for end date and timezone that I need to write up on the other issue. The end date issue turned out to be more complicated than we though, when the upgrade path is taken into consideration. Recurrences would be after that. Current thinking is that this may be pushed back to the contrib space, partially because of the complexity and partially because of the way these tie into other things like iCal input/export, which don't really belong in core.

colan’s picture

I agree that we should do this in a contributed module, at least in the beginning. We're just getting Date fields into Drupal 8 core now, and it's non-trivial (having to deal with date ranges and time zones).

Once we've got something in contrib for this that works reasonably well, we can talk about moving it into core then. This is exactly what we did for BigPipe.

To add more information to #9, end dates & time zones shouldn't be too much longer as folks are actively working on those parts. As far as repeating dates go (this issue), there won't be an ETA until (1) we nail down what we're doing in core, (2) someone starts looking into the architecture for this and (3) writing some code. To speed things along, you can either contribute or pay someone to contribute. That's the nature of FLOSS development.

dankegel’s picture

How's it looking now?

I'd be willing to kick in a token amount of funding if somebody's looking for an excuse to work on repeating dates...

colan’s picture

@dankegel: Great! Please create the bounty somewhere, and post a link to it here.

mpdonadio’s picture

I am not going to officially postpone this (yet), but end date and potentially all-day need to be in before we can think about repeating dates (and we need to assess whether all-day really can/should be part of end dates). I think the timezone issues (entry support and the views filters bug) can be in parallel.

A bounty may help, but all of the are really a boot-on-the-ground problem. We just need more hands working on these issues, to fill in for the time when the people actively driving them forward can't work on them, and we also need people manually testing them.

dankegel’s picture

@colan: https://www.bountysource.com/ looks like a possible bounty site.
But defining the task is hard. My goal is "support repeating dates in calendar
such that I can create a trivial Drupal 8 site with just a calendar,
import a Drupal 6 site's calendar data, and have the calendar work
more or less as it did in Drupal 6". That's a pretty big goal, though,
and given how many people are working on the subparts, I'm not
sure that makes sense.

Maybe (gulp) first I should try to come up to speed
on how to test the work that's already being done. I see
https://www.drupal.org/node/2161337 has some recent progress...

dawehner’s picture

I think a more productive approach would be to try to implement date repeat in contrib and then bring this in as experimental module into core.

Frando’s picture

I did a first step here. See https://www.drupal.org/sandbox/frando/2775015, reviews welcome.

mpdonadio’s picture

#16, do you want to move this over to a patch against https://www.drupal.org/project/datetime_extras ? We are trying to consolidate related work there.

Frando’s picture

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

mpdonadio’s picture

Status: Active » Closed (duplicate)
Related issues: +#2775249: Provide a field for repeating / recuring dates