Jose M Calhariz wrote on Wed, 17 Jul 2019 19:09 +00:00:
> as promised is here the patch.  This is a draft so you can look into
> the new message and say if you aprove it.  The code is not optimized,
> so I may change it a bit.
> 
> +++ b/at.c
> @@ -479,6 +479,11 @@ writefile(time_t runtimer, char queue)
>  
>      istty = isatty(fileno(stdin));
>      if (istty) {
> +       runtime = localtime(&runtimer);
> +
> +       strftime(timestr, TIMESIZE, TIMEFORMAT_POSIX, runtime);
> +       fprintf(stderr, "at %s\n", timestr);
> +
>         fprintf(stderr, "at> ");
>         fflush(stderr);
>      }

Tested.  Looks good to me.  Thank you!

Reply via email to