Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Sep 2019, 18:40
shka shka is offline
 
Join Date: Mar 2016
Problem with poll and timeout datepicker

I'm running 5.5.3 in a test environment with german language pack.

Make a poll with timeout. If I reedit this poll with english forum language the datefield is correct shown, $conversation["timeoutstr"] has a valid value.

If I change to german and edit the poll the datefield shows nothing, JS reports an "invalid string".

core\vb\library\content\poll.php - line 110

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

core\includes\functions.php - line 1975 ff.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In "en" case the date() is called with "m/d/Y H:i" - return value is a correct date string
In "de" case the strftime() is called with "m/d/Y H:i" - return value is "m/d/Y H:i", cause i is an invalid param for strftime and all params need a %.
So for me it only works with "%m/%d/%Y %H:%M"

Wrong vB configuration? Known bug? I use php 7.3.4

core\includes\functions.php - line 1975 ff. quick and dirty

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extended timeout for whois online without changing cookie timeout Jakeman vBulletin 2.x Full Releases 21 30 Nov 2006 03:38
Default Poll Timeout tjdrico vBulletin 3.0 Full Releases 5 30 Apr 2004 00:32



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:45.

Layout Options | Width: Wide Color: