[Building Sakai] Dateformat "-Duser.region=GB -Duser.language=en"

Steve Swinsburg steve.swinsburg at gmail.com
Tue Nov 27 04:18:47 PST 2012


I'm a partial descendent of convicts that Britain sent here, and we use the same date format, does that qualify?

If the tools are using the ResourceLoader to get the Locale and thus the date format, then that does the lookups required, i.e. check user prefs if any, then JVM server setting -Duser.region etc, then operating system/browser. 

So perhaps the problematic tools aren't doing that, or some other setting is sneaking in.

cheers,
Steve



On 27/11/2012, at 11:03 PM, Adrian Fish <adrian.r.fish at gmail.com> wrote:

> I'm British, but I don't know the answer :) I have a few ideas though ...
> 
> Does Sakai honour the tomcat start up settings though? Does what you pass to the JVM become the default locale for all users? The next thing to consider is whether certain tools, like Samigo, pull the current locale from the HTTP requests, rather than Sakai preferences. That's what I'd check.
> 
> Cheers,
> Adrian.
> 
> 
> On 27 November 2012 09:17, Miguel Carro Pellicer <farreri.sakai at gmail.com> wrote:
> More info,  seems that some tools shows the american format (Samigo, forums) and other tools shows the UK format.
> 
> 
> El 27/11/2012 9:49, Miguel Carro Pellicer escribió:
>> Hi subscribers, hope british people may help me :)
>> 
>> How can i set Sakai's DateFormat to dd/MM/yyyy for UK? If i configure the locale "-Duser.region=GB -Duser.language=en" Sakai still appears with american format.
>> 
>> Thanks for your help, Miguel.
>> -- 
>> <Mail Attachment.jpeg>
>> 
>>  
>> 
>> Miguel Carro Pellicer
>> 
>> Technical Manager - Director técnico
>> 
>> miguel.carro at samoo.es
>> 
>> +34 - 673 80 32 69
>> 
>> Skype: mcpellicer
>> 
>> www.samoo.es
>> 
>>  
>> 
>> Este  correo  y  sus archivos asociados son privados y confidenciales y va dirigido  exclusivamente  a su destinatario. Si recibe este correo sin ser el  destinatario del mismo, le rogamos proceda a su eliminación y lo ponga en  conocimiento del emisor. La difusión por cualquier medio del contenido de  este  correo podría ser sancionada conforme a lo previsto en las leyes españolas, Ley Orgánica 15/1999 de Protección de Datos de Carácter Personal.  No  se autoriza la utilización con fines comerciales o para su incorporación a ficheros automatizados de las direcciones del emisor o del destinatario.”
>> 
>>  
>> 
>> This mail and its attached files are confidential and are only and exclusively intended to their addressee. In case you may receive this mail not being its addressee, we beg you to let us know the error by reply and to proceed to destroy it. The circulation by any mean of this mail could be penalised in accordance with the Spanish legislation. Is not allowed the use of both, the transmitter and the addressee’s, address with a commercial aim, or in order to be incorporated to automated data process or to any kind of files.
>> 
>>  
>> 
>> P Antes de imprimir este correo electrónico piense bien si es necesario hacerlo. El medioambiente es cosa de todos.
>> 
>>  
>> 
>>  
>> 
> 
> -- 
> <image002.jpg>
> 
>  
> 
> Miguel Carro Pellicer
> 
> Technical Manager - Director técnico
> 
> miguel.carro at samoo.es
> 
> +34 - 673 80 32 69
> 
> Skype: mcpellicer
> 
> www.samoo.es
> 
>  
> 
> Este  correo  y  sus archivos asociados son privados y confidenciales y va dirigido  exclusivamente  a su destinatario. Si recibe este correo sin ser el  destinatario del mismo, le rogamos proceda a su eliminación y lo ponga en  conocimiento del emisor. La difusión por cualquier medio del contenido de  este  correo podría ser sancionada conforme a lo previsto en las leyes españolas, Ley Orgánica 15/1999 de Protección de Datos de Carácter Personal.  No  se autoriza la utilización con fines comerciales o para su incorporación a ficheros automatizados de las direcciones del emisor o del destinatario.”
> 
>  
> 
> This mail and its attached files are confidential and are only and exclusively intended to their addressee. In case you may receive this mail not being its addressee, we beg you to let us know the error by reply and to proceed to destroy it. The circulation by any mean of this mail could be penalised in accordance with the Spanish legislation. Is not allowed the use of both, the transmitter and the addressee’s, address with a commercial aim, or in order to be incorporated to automated data process or to any kind of files.
> 
>  
> 
> P Antes de imprimir este correo electrónico piense bien si es necesario hacerlo. El medioambiente es cosa de todos.
> 
>  
> 
>  
> 
> 
> _______________________________________________
> 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"
> 
> _______________________________________________
> 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/20121127/4ab234b2/attachment.html 


More information about the sakai-dev mailing list