Both halves of the unit change

Use Gy/s = mGy/h ÷ 3,600,000. An illustrative 54 mGy/h gives 0.000015 Gy/s. The starting 10 mGy/h gives about 0.00000277778 Gy/s.

An hourly value recovered

An input of 0.00002 Gy/s with the units swapped gives 72 mGy/h. That step restores both the milli prefix and the hour.

Duration is absent

Stating a rate per second does not say that it lasted a second. The converter neither totals a dose nor applies radiation weighting.