[Building Sakai] How to change Time Zone of all users

David Horwitz david.horwitz at uct.ac.za
Mon Mar 19 00:51:49 PDT 2012


Hi,

You will need to set your jvm's timezone to match waht you expect so 
that the system default matches your users expectations. So you will 
need something like this in you javaopts:

-Duser.timezone='Africa/Johannesburg'

Where the string matches your timezone.

D


On 03/19/2012 09:16 AM, Jehan Badshah wrote:
> Dear All
>
> 1. How to add following tages to sakai_preferences xml column ?
>
> <prefs key="sakai:time">
> <properties>
> <property enc="BASE64" name="timezone" value="QXNpYS9LYXJhY2hp"/>
> </properties>
> </prefs>
>
>
> 2. and how to search using sql query in xml column, because its type 
> is *LONG*
>
>
> On Mon, Mar 19, 2012 at 11:41 AM, Jehan Badshah 
> <jehan.badshah at nu.edu.pk <mailto:jehan.badshah at nu.edu.pk>> wrote:
>
>     It is found in sakai_preferences table, and xml column
>
>     but it is *base64 *encoded, it look like following tage
>
>     <property enc="BASE64" name="timezone" value="QXNpYS9LYXJhY2hp"/>
>
>
>     any help?
>
>
>     On Mon, Mar 19, 2012 at 11:19 AM, Jehan Badshah
>     <jehan.badshah at nu.edu.pk <mailto:jehan.badshah at nu.edu.pk>> wrote:
>
>         Dear All
>
>
>         Our users default time zone is different, how to change it to
>         our own time zone for all users of our sakai instances.
>
>
>
>
>
>         Regards
>         ----------------------------------------------------
>         Jehan Badshah | Sr. Software Engineer
>         FAST - National University of Computer and Emerging Sciences
>         A.K. Brohi Road, H-11/4, Islamabad
>         UAN: +92 (0)51 - 111 128 128 ext 344
>         <tel:%2B92%20%280%2951%20-%20111%20128%20128%20ext%20344>
>
>
>
>
>
>     -- 
>
>     Regards
>     ----------------------------------------------------
>     Jehan Badshah | Sr. Software Engineer
>     FAST - National University of Computer and Emerging Sciences
>     A.K. Brohi Road, H-11/4, Islamabad
>     UAN: +92 (0)51 - 111 128 128 ext 344
>     <tel:%2B92%20%280%2951%20-%20111%20128%20128%20ext%20344>
>
>
>
>
>
> -- 
>
> Regards
> ----------------------------------------------------
> Jehan Badshah | Sr. Software Engineer
> FAST - National University of Computer and Emerging Sciences
> A.K. Brohi Road, H-11/4, Islamabad
> UAN: +92 (0)51 - 111 128 128 ext 344
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120319/0c6c63cb/attachment.html 


More information about the sakai-dev mailing list