Some consequences of nonstandard Lagrangians with time-dependent coefficients in general relativity