Castel Posted February 23, 2018 Share 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. Link to comment Share on other sites More sharing options...
opentype Posted February 23, 2018 Share Posted February 23, 2018 Live link? Link to comment Share on other sites More sharing options...
Castel Posted February 23, 2018 Author Share Posted February 23, 2018 1 minute ago, opentype said: Live link? http://www.mustangclubsweden.org Link to comment Share on other sites More sharing options...
opentype Posted February 23, 2018 Share 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. Link to comment Share on other sites More sharing options...
MDPP Posted March 20, 2018 Share 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. Link to comment Share on other sites More sharing options...
Management Lindy Posted March 21, 2018 Management Share 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. Link to comment Share on other sites More sharing options...
MADMAN32395 Posted March 21, 2018 Share Posted March 21, 2018 I'm on windows and my site does that too. Link to comment Share on other sites More sharing options...
MDPP Posted March 23, 2018 Share Posted March 23, 2018 I've made a plugin that fixes this very issue for those affected. @MADMAN32395 @Castel Link to comment Share on other sites More sharing options...
MADMAN32395 Posted March 24, 2018 Share Posted March 24, 2018 But I'm on windows lol. Shouldn't ips fix it though? Link to comment Share on other sites More sharing options...
Daniel F Posted March 24, 2018 Share Posted March 24, 2018 AFAIK we have fixed this for 4.3:) Link to comment Share on other sites More sharing options...
MDPP Posted March 24, 2018 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.