Loading...
 

Features / Usability Help

You are viewing a reply to Calendar one step forward, two steps back in 1.10 Print this page only Print all pages

Re: Calendar one step forward, two steps back in 1.10

ricks99 posts: 3000 4 stars Send eMail to User user offline United States

I've just started working on moving my site to 1.10, so can't help much... but here goes....

>
> Pro: You can now choose your time zone so times are correct for your time zone and not the server (which may be somewhere else). This is HUGE -thanks!
>
> Con: If you live in a country that uses AM and PM you may be out of luck. In 1.9 and below there was no way to choose 12hr/AM/PM but you could edit the Calendar and Add Event template files and force them to use AM/PM and 12hr time. In 1.10 the template's changed and it doesn't appear you can make that same template change. There is nothing in Features/General or Wiki (or Calendar) Admin that fixes this. The Calendar in 1.10 respects the date but not the time setting in Admin/General/Long and Short date & time format settings. Unless I am missing something if you use 12hr time you may have to stop using the calendar.
>

You need to edit the calendarlib.php library (look at/near line 193). It appears that the time is hardcoded as %H:%M. You can change it there.


HTH,

-Rick
Now Available: TikiWiki for Dummies Smarties — A beginner's guide to using ))TikiWiki((.
Coming soon: TikiWiki for Smarties

Why Register? [Toggle] [Toggle Vertically]

Register at tiki.org and you'll be able to use it at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.

Subscribe to Tiki Newsletters! [Toggle] [Toggle Vertically]

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki

Shoutbox [Toggle] [Toggle Vertically]

Torsten Fabricius, 09:54 UTC, Wed 19 Feb 2014: Hello everybody, please mind the ((TikiFestSysadmin2014)) in August. Mainly meant for the Sysadmins, which are located in and near Germany (and France), active community members from Canada are expected to be attending.
luciash d' being, 12:28 UTC, Wed 01 Jan 2014: Happy New Year ! :-)
luciash d' being, 14:00 UTC, Sun 27 Oct 2013: @ricks99: there is a regression bug in Tiki resetting the avatars to the default one imho
Rick, 16:56 UTC, Wed 31 Jul 2013: What happened to the avatars?
Jonny Bradley, 12:44 UTC, Wed 10 Apr 2013: Biggest TikiFest in ages starts tomorrow [Link]