Fix scalar gmtime() usage.