calendarProvider: change the behavior and purpose of the smemFilenameFromDate function, reducing the binary size and memory usage.