Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Castel Posted February 23, 2018 Posted February 23, 2018 Hi, I can´t figure out why the month names in the upcoming events widget shows the text %OB. It have worked before, but after last update this happened. Anyone have any clue? For a breath of a second when loading the page, the correct names are displayed.
Castel Posted February 23, 2018 Author Posted February 23, 2018 1 minute ago, opentype said: Live link? http://www.mustangclubsweden.org
opentype Posted February 23, 2018 Posted February 23, 2018 Looks like there are wrong entries in your language strings or locale settings. It says “%d %OB %Y” in the code. The entry in the middle is wrong. %B would output something like “April”, but since %OB doesn’t exist as variable, it will just output the non-existing variable itself.
MDPP Posted March 20, 2018 Posted March 20, 2018 @Castel Do you, by chance, run your forum on FreeBSD? If so, I've submitted a ticket about "%OB" showing up on the upcoming calendar widget since "%OB" is not a valid time string for FreeBSD.
Management Lindy Posted March 21, 2018 Management Posted March 21, 2018 5 hours ago, MDPP said: @Castel Do you, by chance, run your forum on FreeBSD? If so, I've submitted a ticket about "%OB" showing up on the upcoming calendar widget since "%OB" is not a valid time string for FreeBSD. BSD (and derivatives) walk to the beat of their own drum. The POSIX standard for date format was changed years ago - every other operating system I'm aware of utilizes nominative dates to provide for proper case in different languages -- that is %OB. BSD is stuck on genitive format, which is not "appropriate." This has come up a couple of times and while we considered accommodations specifically for BSD, the reality is it accounts for .6% of all web traffic and I would estimate even less than that for our customer base. We try to avoid OS specific accommodations - it gets hacky. I believe you can now update glibc to get proper support on BSD. Unfortunately, that's all I can offer or recommend. Hope that helps.
MDPP Posted March 23, 2018 Posted March 23, 2018 I've made a plugin that fixes this very issue for those affected. @MADMAN32395 @Castel
MADMAN32395 Posted March 24, 2018 Posted March 24, 2018 But I'm on windows lol. Shouldn't ips fix it though?
MDPP Posted March 24, 2018 Posted March 24, 2018 14 hours ago, Daniel F said: AFAIK we have fixed this for 4.3:) Indeed! I just upgraded my test site to 4.3 Beta 2 and the Upcoming Events widget is working as expected. I'll update that in the plugin description that it is fixed in 4.3.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.