Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

How to display the date correctly in US format in SP Movie Database?

Featured Lock Resolved Issue
Still testing SP Movie Database.

Is there a parameter to display the date in the right format when using US language?

Right now, it is using the European format DD MM, YYYY instead of the in the US MM DD, YYYY.

See picture attached.

Attachments (1)

  • Screen Shot 2018-01-07 at 8.55.42 AM.png
    Screen Shot 2018-01-07 at 8.55.42 AM.png 55.6 KB

6 Answers

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
Open the following file /components/com_spmoviedb/views/movie/tmpl/default.php on 132 no line you will get:


<?php echo JHTML::date($this->item->release_date, 'd M, Y'); ?>

replace it by:

<?php echo JHTML::date($this->item->release_date, 'F d, Y'); ?>


- Thanks

Toufiq - Staff

More than a month ago #Permalink
Hi,

I have forward it to our developer.

Rifat Wahid Alif

-Thanks

danielchat

More than a month ago #Permalink
OK thanks.

danielchat

More than a month ago #Permalink
Thanks it worked.

For everyone, you should update your url as the one you gave doesn’t exist. I found it in the movie folder instead.

Rifat Wahid Alif - Staff

More than a month ago #Permalink
you are welcome


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 192
Sifat

Sifat

Total Accepted Answers: 102
Toufiq

Toufiq

Total Accepted Answers: 31
Rifat Wahid Alif

Rifat Wahid Alif

Total Accepted Answers: 9
Al Mamun

Al Mamun

Total Accepted Answers: 4

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us