Editing the Dropdown Calendar

Print Friendly and PDF Follow

Adding Blackout Dates Video

All Aeon default request pages include a Scheduled Date field that uses a standardized jquery dropdown calendar. Users requesting items via the web must use the drop-down calendar to add a scheduled date. Manual entries are not allowed. The scheduled-date.js file contains the functionality allowing sites to limit which days they accept requests. You can edit the .js file to prevent users from requesting items on particular days. This .js file does not affect the dropdown calendar displayed in the client request forms.

Editing the scheduled-date.js file

By editing the content of the scheduled-date.js file you can deactivate specific dates on the calendar so that users cannot schedule requests for those days. For example, the default scheduled-date.js file allows users to schedule item retrieval on weekends. By changing the value to 'false' users will not be able to schedule items for weekends.

allowWeekends = true;
allowWeekends = false;


You can remove a holiday from the list of yearly or floating holidays by removing the // marks to the left of that specific line. For example, to keep users from requesting items for Labor Day:

//floatingHolidays.push(['20120903', 'Labor Day']);

becomes

floatingHolidays.push(['20120903', 'Labor Day']);

Remember that as with any changes to web files, the cache needs to be updated to get the latest changes.

Modifying the Date Format of Web Calendars

By default, Aeon formats dates in the client and web in the US format of mm/dd/yyyy and formats time in the client using a 12-hour clock. The Aeon client and DLL also support non-US regional date and time formats. Aeon allows you to display and use dates formatted in region-specific settings, such as dd/mm/yyyy, and times formatted using a 24-hour clock. If you use a date / time format other than the default, it will reflect in the client in all lists and grids as well as in forms and calendar popups. The Aeon client and DLL use SQL server time whenever they need to reference date and time. This synchronization ensures that all components should be consistent.

Date Format in Web Pages

The date format shown on your web pages is specified in the DLL by the server where the DLL is located. If you use a date format other than mm/dd/yyyy, you may need to modify the calendar popups in the web to reflect that format.

Questions?

If this article didn’t resolve your issue, please contact Atlas Support for assistance:

Contact Support