ma orario1 di che tipo è?
Credo che si aspetta un valore di tipo stringa.
Infatti concatenando gli spazi lo dovrebbe trasformare in stringa.