Calendar.txt defines different services and shows the available days and times.
Example of a simple calendar.txt file:
You can add service exceptions in the calendar_dates.txt field. Typically, you remove exceptional dates, like holidays, from one service and add them to another. For example, if December 25 falls on a weekday, you might remove the date from the weekday service and add it to the weekend service.
Example of a simple calendar_dates.txt file:
The time periods for calendar_dates.txt and calendar.txt should match. Otherwise, service exceptions can be missed and give users inaccurate information. The service period covered in the feed must be at least 30 days and be consistent for all services.