kiwanami / emacs-calfw

A calendar framework for Emacs
1.17k stars 100 forks source link

Fix for issue #63 #85

Closed Jehops closed 7 years ago

Jehops commented 8 years ago

The function cfw:enumerate-days expects a date in the form (month day year), but, depending on the value of calendar-date-style, dairy blocks may result in calls to cfw:enumerate-days with (day month year) [1] or (year month day) [2].

This fix ensures that calls to cfw:enumerate-days always supply an argument in the from (month day year) by wrapping the argument in a call to the new function cfw:month-day-year.

[1] When calendar-date-style is set to european [2] When calendar-date-style is set to iso

Jehops commented 7 years ago

Are there any problems I can address with the pull request?

kiwanami commented 7 years ago

@Jehops Thank you for your PR. I checked my environment and merged it now.

I'm sorry for my very late response...

Jehops commented 7 years ago

Such is life. Thank you and thanks for all the cool, open projects you work on.