From spatio-temporal to temporal modulational instability