I am new to Drupal 8 Views - How do you concatenate Event Start Date Sept 1, 2019 with Event end Date ie: Sept 4, 2019? The end result is they just want the Month and Day to show up like this Sept 1-4.

  • For the most part you could do this easily with views Rewrite Results settings on each of the fields, hide the fields from display and then add a custom one to render the field tokens. I’m not sure about views handling instances where your end date crosses over to a new month... Sep 4 - Oct 2. – Prestosaurus Sep 30 at 18:32
  • Thank you so much – Drew Norman Sep 30 at 18:38

You can create a custom field formatter plugin for the daterange field type and you can use it at other places on the website too.

  • Love it thanks for confirming. Makes the most sense too. Thanks my friend – Drew Norman Oct 1 at 12:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.