Page 1 of 1
Clock option - SOLVED
Posted: Fri Apr 20, 2012 12:14 pm
by rdflesher
Just a quick simple request. On the Clock option, allow for a customization to display the day of the week (Monday, Tuesday, etc.)
Re: Clock option
Posted: Fri Apr 20, 2012 1:44 pm
by Viktor S
Hello rdflesher,
Thank you for the suggestion! I will forward this request to the Development department.
In the mean time there is a way to display the day of the week and more.
Start off by creating a clock region. Then go to the Time Format field and select Custom. You will notice that a new field will appear to the right. In this field you are able to customize date using PHP functions.
For instance if you were to put: "%A %I:%M %p" it would show up as "Friday 1:27 PM".
%A = Full name of the day.
%I = Shows the hours in a 2-digit 12-hour format.
%M = Minutes represented in 2-digit format.
%p = Upper-case AM or PM depending on the time.
The following links contains more information including many more formats you can use:
http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html
http://php.net/manual/en/function.strftime.php
Let me know if you have any more questions.
Kind Regards,
Viktor
Re: Clock option
Posted: Mon Apr 23, 2012 8:50 am
by rdflesher
Awesome - this was exactly what I was looking for - just didn't see it in the custom options. Thanks.