Welcome, Guest
Username: Password: Remember me

TOPIC:

Change Date Format On Details Page 7 years 7 months ago #16643

  • Hoffi
  • Hoffi's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 2279
  • Thank you received: 449
To answer the next question :cheer:

It would also require a.m./p.m. indication so it should be
%I:%M %r
Pessimists are optimists with experience!

Please Log in or Create an account to join the conversation.

Change Date Format On Details Page 7 years 7 months ago #16672

  • MyWorld
  • MyWorld's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 73
  • Thank you received: 3
Looks like the a.m./p.m indication is not working correctly:

%I:%M gives me: 04:30 - 06:30

%I:%M %r gives me: 04:30 04:30:00 PM - 06:30 06:30:00 PM

Thanks

Please Log in or Create an account to join the conversation.

Change Date Format On Details Page 7 years 7 months ago #16673

Looks like the a.m./p.m indication is not working correctly:

you're right with that.. the %r is the same as "%I:%M:%S %p" so %p will show am or pm
(won't respond to PM)
==================================================================
running: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3

Please Log in or Create an account to join the conversation.

Change Date Format On Details Page 7 years 7 months ago #16674

  • MyWorld
  • MyWorld's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 73
  • Thank you received: 3
Perfect!! Thanks again :cheer:

Please Log in or Create an account to join the conversation.

Change Date Format On Details Page 7 years 7 months ago #16883

  • MyWorld
  • MyWorld's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 73
  • Thank you received: 3
Hi there,

I am trying out JEM for Joomla 3.0. I'm not clear on how the date should be. Is it different from 2.5 version?

Please see pic of the dates settings.

I was hoping to set the date like this on the listings page (first page):
March 5, 2015 | 7:00 PM - 9:00 PM
** The date is fine but the time is showing like this: 17:00 PM - 19:00 PM. What is the correct format please?

I was hoping to set the date like this on the details page:
Thursday March 5, 2015 | 7:00 PM - 9:00 PM

** But it is showing like this. Note the year is missing:
Thursday March 5, 17:00 PM - 19:00 PM

Thank you very much!
Attachments:

Please Log in or Create an account to join the conversation.

Change Date Format On Details Page 7 years 7 months ago #16884

first a question: what version are you trying out?
(won't respond to PM)
==================================================================
running: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3

Please Log in or Create an account to join the conversation.

Time to create page: 0.389 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......