Last updated December 4, 2012. Created by emilyf on July 30, 2012.
Edited by stefanwray, kreynen. Log in to edit this page.
Troubleshooting Reservations API
Reservations are in 24 hour format and I want 12 hour format
If you install the Reservations API module before configuring your date/time settings in Drupal, it will default to making reservations in 24 hour time. To fix this, do the following:
- Navigate to Configuration > Reservations > Reservations API settings.
- Expand the 'Advanced Settings' section.
- Uncheck 'Lock Fields'.
- Save the configuration.
- Navigate to Configuration > Date and Time.
- Under types, make sure your formats are using 12 hour time.
- Navigate to Structure > Content Types > Reservation > Manage Fields.
- Choose 'Edit' for the field_reservation_date field.
- Expand the 'Show More settings and values' section.
- Under 'Date Options' choose the 12-hour format that you want.
- Save the configuration.
- Navigate to Configuration > Reservations > Reservations API settings.
- Expand the 'Advanced Settings' section.
- Check 'Lock Fields'.
- Save the configuration.