Weird number on the Calendar View - Layout-daily?

  • Patrick Toulze
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 10 months ago - 3 years 10 months ago #144709 by Patrick Toulze
What is that number on the left?

I think it suppose to be the date... Hour ...?
Note:
I have no hours on my events (Hours are chosen in custom fields) (events happen at multiple times in a day)

I got this on calendar > daily.php
Code:
            <td class="tablea">                 <a href="<?php echo $url; ?>"><?php echo JHtml::_('date', $event->event_date, $timeFormat, null);?></a>             </td>

 
Last edit: 3 years 10 months ago by Patrick Toulze.

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

  • Patrick Toulze
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 10 months ago - 3 years 2 months ago #144751 by Patrick Toulze
Replied by Patrick Toulze on topic Weird number on the Calendar View - Layout-daily?
Find it!
 
 

——————————————————————————————————
This is the time in the default Time Format in EB
H:m
When the time of the event was 00:00 — It give  00:06 ?????????


Anyway — I change it to 

H:i

Following the php time format below
  • h - Represent hour in 12-hour format with leading zeros (01 to 12)
  • H - Represent hour in in 24-hour format with leading zeros (00 to 23)
  • i - Represent minutes with leading zeros (00 to 59)
  • s - Represent seconds with leading zeros (00 to 59)
  • a - Represent lowercase ante meridiem and post meridiem (am or pm)
  • A - Represent uppercase Ante meridiem and Post meridiem (AM or PM)
Now
10:30 am = 10:30
2:30 pm = 14:30


 
Last edit: 3 years 2 months ago by Patrick Toulze.

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

More
3 years 10 months ago #144764 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Weird number on the Calendar View - Layout-daily?
Just for more information, you can found all supported parameters at www.php.net/manual/en/datetime.format.php

Regards,

Tuan
The following user(s) said Thank You: Patrick Toulze

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

  • Patrick Toulze
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 10 months ago #144859 by Patrick Toulze
Replied by Patrick Toulze on topic Weird number on the Calendar View - Layout-daily?
Thanks!

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

More
3 years 2 months ago - 3 years 2 months ago #149809 by Thomas Brugmans
Replied by Thomas Brugmans on topic Weird number on the Calendar View - Layout-daily?
Salut Patrick, tu peux me dire ou tu l'as changé ?

D'avance Merci
Thomas
EDIT: Ca va j'ai trouvé :)
Last edit: 3 years 2 months ago by Thomas Brugmans.

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

  • Patrick Toulze
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 2 months ago #149810 by Patrick Toulze
Replied by Patrick Toulze on topic Weird number on the Calendar View - Layout-daily?
J’ai ajouté le path dans le post, plus haut pour tout le monde.
Salut Thomas!

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

Moderators: Tuan Pham Ngoc