Page 2 of 2
Re: Date Format differs
Posted: Wed Jun 01, 2022 8:58 pm
by iconnor
I've just pushed to master a huge rewrite involving replacing all occurrences of strftime because it is now deprecated.
I implemented a local config option, as well as date format, time format and datetime format overrides.
I am hoping this satisfies everyone's date formatting needs.
Re: Date Format differs
Posted: Wed Jun 01, 2022 9:56 pm
by RonRN18
iconnor wrote: ↑Wed Jun 01, 2022 8:58 pm
I've just pushed to master a huge rewrite involving replacing all occurrences of strftime because it is now deprecated.
I implemented a local config option, as well as date format, time format and datetime format overrides.
I am hoping this satisfies everyone's date formatting needs.
Cool, that will solve two issues. When I first updated to Ubuntu 22.04, where PHP8.1 was the default, it was constantly showing up as errors that "strftime" was deprecated. It was getting quite annoying to see that many errors piling up in such a short period of time.
I've tried messing with the /www/lang/en_us.php to get the date format to look proper, as it defaults to the European format after every update; I live in the United States. I have wished that this could be set from the web interface, similar to how I've modified the timestamp overlay in the "Monitor" setup.
Re: Date Format differs
Posted: Fri Jun 03, 2022 12:51 pm
by fahnoe
iconnor wrote: ↑Wed Jun 01, 2022 8:58 pm
I've just pushed to master a huge rewrite involving replacing all occurrences of strftime because it is now deprecated.
I implemented a local config option, as well as date format, time format and datetime format overrides.
I am hoping this satisfies everyone's date formatting needs.
Did this wind up in v1.36.16 or .17? I'm on v1.36.16 and don't seem to find anything related in the Options pages of the web console. I didn't note anything about date format changes in the release notes either. Not being picky, just trying to figure out how to make use of your new options. Maybe I've just not had enough coffee yet...
Thanks.
--Larry
Re: Date Format differs
Posted: Fri Jun 03, 2022 1:47 pm
by iconnor
It's in master. Not in 1.36 yet. Too big of a change. But it's coming.