https://www.spanishdict.com/answers/223128/is-it-buenos-dias-or-buenas-dias
Feb 13, 2012 · I understand the confusion! "Día," although it ends with an "a" is a masculine word. Therefore, any adjective describing it would be masculine also. For "noches,"