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

Steve Swinsburg steve.swinsburg at gmail.com
Mon Mar 19 01:28:32 PDT 2012


See David's message, put the value in quotes. 


Sent from my iPhone

On 19/03/2012, at 19:05, Jehan Badshah <jehan.badshah at nu.edu.pk> wrote:

> Dear All
> 
> The time zone  is set to "GMT+5 Islamabad , Krachi, Taskant"  on system where sakai instance is installed (see attachement)
> 
> and we also added    -Duser.timezone=Asia/Karachi   to JAVA_OPTS but when starting sakai then getting exception message "class not found"
> 
> On Mon, Mar 19, 2012 at 12:52 PM, Jehan Badshah <jehan.badshah at nu.edu.pk> wrote:
>   -Duser.timezone=Asia/Karachi 
> 
> Yes I did it but I got exception message "class not found"
> 
> 
> On Mon, Mar 19, 2012 at 12:42 PM, Steve Swinsburg <steve.swinsburg at gmail.com> wrote:
> You don't want to do that. You want to use the user.timezone  java opt when starting tomcat. You need to use the correct value for your timezone. 
> 
> Cheers
> Steve
> 
> Sent from my iPhone
> 
> On 19/03/2012, at 18:16, Jehan Badshah <jehan.badshah at nu.edu.pk> 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> 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> 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
>> 
>> 
>> 
>> 
>> 
>> -- 
>> 
>> 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
>> 
>> 
>> 
>> 
>> 
>> -- 
>> 
>> 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"
> 
> 
> 
> -- 
> 
> 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
> 
> 
> 
> 
> 
> -- 
> 
> 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
> 
> 
> <time zone screen shot.png>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120319/6d52166e/attachment.html 


More information about the sakai-dev mailing list