WPIntell

Source evidence

wrong time format display in campaign list page (front)

HT Politic – For Political WordPress Themes / Website · support · 2022-04-13T15:48:00+00:00

complaintsentiment
mediumseverity
0.92relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 34 rows with source links

20.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
JibsouX unresolved
I follow the correction of the date and time format which has been corrected in this support request: https://wordpress.org/support/topic/time-bug-for-campains/ Now the dates are well taken into account on the other hand the format of date of campain is good in detail of the campaign but not on the campain listing page. in “wppolitic_event-meta” the time is always displayed in AM / PM even though the date format chosen is G\hi which should give the result XXhXX and not XX:XX AM or PM Campain detail OK : https://zupimages.net/up/22/15/wyxe.png Campains list NOT OK : https://zupimages.net/up/22/15/f0ru.png Thanks in advance ! you must do the same thing as for the campaign details, namely : $timeformate = get_option(‘time_format’); $campaign_time = strtotime( $campaign_time ); <?php echo esc_html( date_i18n( $timeformate, $campaign_time ) ); ?> instead of <?php echo esc_html( $campaign_time );?> Line 1449, file wppolitic_campain_addon.php Cheers This reply was modified 4 years, 1 month ago by JibsouX . This reply was modified 4 years, 1 month ago by JibsouX . Hello @jibsoux Thank you so much for finding the issue and providing the solution. Hopefully, we will add it to our plugin in the next update. We are so thankful to you! Best Regards, HT Plugins

Comments

2 shown
JibsouX 2022-04-13T22:54:00+00:00

you must do the same thing as for the campaign details, namely : $timeformate = get_option(‘time_format’); $campaign_time = strtotime( $campaign_time ); <?php echo esc_html( date_i18n( $timeformate, $campaign_time ) ); ?> instead of <?php echo esc_html( $campaign_time );?> Line 1449, file wppolitic_campain_addon.php Cheers This reply was modified 4 years, 1 month ago by JibsouX . This reply was modified 4 years, 1 month ago by JibsouX .

HT Plugins 2022-04-16T05:37:00+00:00

Hello @jibsoux Thank you so much for finding the issue and providing the solution. Hopefully, we will add it to our plugin in the next update. We are so thankful to you! Best Regards, HT Plugins