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

Jehan Badshah jehan.badshah at nu.edu.pk
Mon Mar 19 01:05:20 PDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120319/f816aae0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: time zone screen shot.png
Type: image/png
Size: 19981 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120319/f816aae0/attachment.png 


More information about the sakai-dev mailing list