I'm reading Landau & Lifshitz's Mechanics and, at a certain point when discussing canonical transformations, they prove that Poisson brackets are canonical invariants.
The proof starts with Landau & Lifshitz stating that, since time appears as a parameter in the canonical transformations
$$p_i = \frac{\partial F}{\partial q_i}, \; P_i = - \frac{\partial F}{\partial Q_i}, \; H' = H + \frac{\partial F}{\partial t},\tag{45.7}$$
$$p_i = \frac{\partial \Phi}{\partial q_i}, \; Q_i = \frac{\partial \Phi}{\partial P_i}, \; H' = H + \frac{\partial \Phi}{\partial t},\tag{45.8}$$
it is sufficient to prove that the Poisson brackets are canonical invariants for quantities that do not depend explicitly on time, i.e., proving that if $\frac{\partial f}{\partial t} = \frac{\partial g}{\partial t} = 0$, then $$[f,g]_{p,q} = [f,g]_{P,Q}\tag{45.9}.$$ Why is this the case? It seems to me that he is storing the time dependence in the coordinates and momenta instead of the functions $f$ and $g$ themselves, but this would prove the result only for those coordinates that leave $f$ and $g$ without explicit time-dependence.