NEWSBERG > Modify The Date In A French (European) Format - Question | JoomShaper

NEWSBERG > Modify The Date In A French (European) Format

N

Nabora

Template 10 months ago

Hello,

I checked the language files, they are correct (en-GB.ini + fr-FR.ini). I would like the date to appear like this: 11 décembre 2024 and no Dec 11, 2024 (see the website home page)

Tell me where I should change this setting?

Best regards, Michel

0
3 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 10 months ago #177927

Hi there,

Thank you for reaching out. Please follow the instructions. Go to the file location.

templates/newsberg/sppagebuilder/addons/articles_layout/site.php

Find out this code & change the publish_up format with this code (d M, Y)

$output .= '<span class="sppb-meta-date" itemprop="datePublished">' . HTMLHelper::_('date', $item->publish_up, 'M d, Y') . '</span>';

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
N
Nabora
Accepted Answer
10 months ago #177933

Thank you very much, it works great!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 10 months ago #178022

You are most welcome! We appreciate your feedback and are delighted to hear that you're satisfied with our service.

To officially close this forum post, mark it as accepted. If you have any more questions or need further assistance in the future, please don't hesitate to reach out to us.

As for writing a review about our product and support quality, we would greatly appreciate it! Your feedback helps us improve and serves as a valuable reference for others. Please take a moment to share your thoughts about your experience with our product and the support you received. Your input is valuable to us and the community. Thank you in advance for your time and support.

Joomla Extension Directory

JED.png

TrustPilot

Trust-Pilot.png

We're here to assist you with any further questions or requests you may have. Once again, thank you for choosing our product and for being a part of our community.

Best regards,

Toufiqur Rahman

Team Lead, Tech Support (JoomShaper)

0