[Building Sakai] How to change Time Zone of all users
David Horwitz
david.horwitz at uct.ac.za
Mon Mar 19 01:01:25 PDT 2012
Try
-Duser.timezone='Asia/Karachi'
(note the quotes)
D
On 03/19/2012 09:52 AM, Jehan Badshah 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 <mailto: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
> <mailto: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 <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
>> <tel:%2B92%20%280%2951%20-%20111%20128%20128%20ext%20344>
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> <mailto: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
>> <mailto: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
>
>
>
> _______________________________________________
> 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/46d42b71/attachment.html
More information about the sakai-dev
mailing list