Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: date format

date format 15 years 11 months ago #3166

  • serge06
  • serge06's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0

dthadmin wrote: Hello. To make a change like this, you\'ll need to modify the dtregister.php file. The code is located in the listevents($option) function. Search the file for the line:

mosFormatDate($row->publish_up)

Pass the date format as a second argument there.


I would like the date format to be "Day, dd/mm/yyyy"

What do you mean by: Pass the date format as a second argument there.
Could you gibe an example?

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

date format 15 years 11 months ago #3170

  • abo
  • abo's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
The example was already given - though a little messed up at the end:

mosFormatDate($row->publish_up, \"%d-%m-%y\") for 18-01-2009
mosFormatDate($row->publish_up, \"%d. %m. %y\") for German format

etc.

My concern is that with every update you are likely to have to change the format manually once again... So I would hope that the date-format can be set in the settings one of these days..... ;)

Thanks

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

date format 15 years 11 months ago #3173

  • serge06
  • serge06's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
I am sorry I was not clear, I actually need the Weekday to show: Weekday, mm/dd/yyyy

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

  • Page:
  • 1
  • 2
Time to create page: 0.373 seconds