Time#getlocal(nil) should act like no-arg. Fixes #2310.