Upvote:1
1917 Canon 1244 (1983 Canon 1244) says:
It is only for the supreme ecclesiastical authority to establish, transfer, or abolish feast days and days of abstinence and fast common to the whole Church.
1983 Canon 1245 says:
Without prejudice to the right of diocesan bishops mentioned in ⇒ can. 87, for a just cause and according to the prescripts of the diocesan bishop, a pastor can grant in individual cases a dispensation from the obligation of observing a feast day or a day of penance or can grant a commutation of the obligation into other pious works. A superior of a religious institute or society of apostolic life, if they are clerical and of pontifical right, can also do this in regard to his own subjects and others living in the house day and night.
Related to this is St. Thomas Aquinas's Summa Theologica II-II q. 40 a. 4 question "Whether it is lawful to fight on holy days?"