Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Date format in System Date & Time

#52

Hi,

I have Concerto up and running in our college. (Great software BTW).

Is there a way to change the System Date and Time to UK format? We would like it to show dd/mm/yyyy?

Thanks.

Reported by WTG User · October 22nd, 2009 @ 03:27 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Brian Michalski
    Brian Michalski
    • State changed from new to invalid
    • Tag changed from from_wtg to date, from_wtg, uk

    The date format is set in the content table of the database, probably as content ID 1. It will have the name "System Date & Time" with a value like "D m\/d h:i A". For UK time you'll probably want that to be "d\/m\/y h:i A" or something like that. Its actually a php date format string, so you can build your own using any of the format characters on this page: http://us.php.net/manual/en/function.date.php

    October 24th, 2009 @ 10:43 PM

  2. Brian Michalski
    Brian Michalski
    • State changed from invalid to resolved
    • Milestone order changed from 0 to 0

    (from [004b58736a9566e61664789ad5d34578b91fa686]) Added height, width, and hide_fields parameters to template preview. Closes #52 Date format in System Date & Time, Closes #53 Temporary Directory.

    • Introducde an ImageUtility module to resize images system-wide. Scales to fit height and width if needed or stretches the image to match exact dimensions.

    • Wired up Template#display to use the image utility.

    • Wired up Template#preview to use the image utility, taking height and width as params. Setting the hide_fields param to true (&hide_fields=true) will not render the fields on a preview.

    • Made the font size selection smarter when rendering templates. https://github.com/concerto/concerto/commit/004b58736a9566e61664789...

    March 13th, 2012 @ 02:45 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.