Submission Datetime Formattable

Created on 14 March 2024, 9 months ago
Updated 15 March 2024, 8 months ago

Problem/Motivation

The submission date and time are just plain text (I think?). Can we get that in a more consumable format so that we can apply Drupal Date and Time Formats (and Smartdate formats) to it? Ultimately, it would be nice to take the submission information and plug it into a Fullcalendar view so that I can show users what slots are booked and what is still open.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States davidandersonencsd

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @davidandersonencsd
  • πŸ‡΅πŸ‡ΉPortugal rfmarcelino

    Thank you @DavidAndersonENCSD for your feedback.
    Yes, you're right. Right now we're only storing a string.
    It may make sense to change it to a DateTime field, but it's also less flexible and would also constrain what we can do in the future (allow multiple slots or a range of slots, etc.)
    We'll also need to consider the impact on projects already using the module. Eventually, there needs to be a '2.x'.

Production build 0.71.5 2024