If we have two reference systems, $N$ and $B$, with common origins $O_N=O_B$ and $B$ being rotating around $N$ with angular velocity $\omega_{B|N}$, the time derivates of any vector $\vec{u}$ in both systems are related by the next theorem:
$$\frac{d \vec{u} }{dt}_N=\frac{d \vec{u} }{dt} _{B}+ \vec{\omega}_{B|N} \wedge \vec{u} $$
In which reference frame are expressed the vectors $\vec{\omega}$ and $\vec{u} $ from the second term of the RHS: in the basis of $N$ or in the basis of $B$?