> On Dec 13, 2021, at 4:12 AM, Nicolas George <geo...@nsup.org> wrote: > > Thilo Borgman (12021-12-12): >> +@item localtime_ms >> +Same as @code{localtime} but with millisecond precision. >> +It can accept an argument: a strftime() format string. > > What happens if the format string is something like '%H:%M:%S%z'? My > guess it it prints 21:12:42+0100.1234 instead of 21:12:42.1234+0100.
How about add a restriction like this: if (format.endsWith(“%S")) enable the feature else warning message It’s a useful feature, it shouldn't create unexpected results, but doesn’t need to support every use case. > > Regards, > > -- > Nicolas George > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".