core: Change coding style for passing NULL to time