How to rotate imported gltf-meshes?

I am trying to rotate all imported meshes from a GLTF-file around an Axis.
It does rotate around Z but not around Y?
Is this a bug or do i have to rotate them differently?

Ok i found it out, however this works, it kinda somehow does.