Open 8none1 opened 2 days ago
I would like to be able to specify a custom strftime formatting string so that I can change the way the time is shown when overlaid on the stream.
strftime
In my case I want to add the timezone.
I was able to do this by editing the /etc/prudynt.cfg file like so:
/etc/prudynt.cfg
stream0 : { osd : { time_format: "%F %T %Z" }; fps = 20; audio_enabled = false; };
(The default is %F %T and so is not set in the config file)
%F %T
Which results in:
I'd love to be able to specify this via the WUI as well:
I use time_format = "%F %T %z %a"; shows the day of the week ("Sunday") and the current numerical time offset, which can change between DST and not DST depending on season
I would like to be able to specify a custom
strftime
formatting string so that I can change the way the time is shown when overlaid on the stream.In my case I want to add the timezone.
I was able to do this by editing the
/etc/prudynt.cfg
file like so:(The default is
%F %T
and so is not set in the config file)Which results in:
I'd love to be able to specify this via the WUI as well: