Re: [libreoffice-website] SilverStripe : wrong date in form field

2010-11-14 Thread Jean-Baptiste Faure
Le 13/11/2010 17:43, Christian Lohmaier a écrit :
 Hi Jean-Baptiste, *

 On Fri, Nov 12, 2010 at 11:44 PM, Jean-Baptiste Faure
 jbf.fa...@orange.fr wrote:
 If you create a form with a date field with today default value, you can
 see that there is a confusion between the month and the day :  today is
 Nov. 12 and the field says Dec. 11.

 Examples : http://fr.test.libreoffice.org/formulaire-de-contact/ and
 http://de.test.libreoffice.org/kontakt/
 I updated the code to force the date to ISO-format (-MM-DD) thus
 the problem should no longer occur, and the user will not be confused
 anymore on how to interpret the date either.

 I also updated silverstripe to the current release (move from 2.4.2 to 2.4.3)

 ciao
 Christian

Hi Christian,

Thank you very much

JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.




-- 
E-mail to website+h...@libreoffice.org for instructions on how to unsubscribe
List archives are available at http://www.libreoffice.org/lists/website/
All messages you send to this list will be publicly archived and cannot be 
deleted



Re: [libreoffice-website] SilverStripe : wrong date in form field

2010-11-13 Thread Jean-Baptiste Faure
Le 13/11/2010 00:31, Christian Lohmaier a écrit :
 Hi Jean-Baptiste,

 thanks for the feedback

 On Fri, Nov 12, 2010 at 11:44 PM, Jean-Baptiste Faure
 jbf.fa...@orange.fr wrote:
 If you create a form with a date field with today default value, you can
 see that there is a confusion between the month and the day :  today is
 Nov. 12 and the field says Dec. 11.

 Examples : http://fr.test.libreoffice.org/formulaire-de-contact/ and
 http://de.test.libreoffice.org/kontakt/
 It's not the wrong date, it just uses a bad/confusing format
 (DD/MM/) so it mixes german/european ordering with US/american
 delimiter. Today it should b e clear, as not it defaults to 13/11/2011
 - and there is no month number 13 :-)
 You can also verify by clicking on the entry box to open the calendar to 
 choose

 But yes, there is a mixup between internal value and then what the
 from expects as input.
Yes you are right. From my side it was only to try this type of form field.
Nevertheless, SilverStripe should not try to write the date with the
name of the month.

Best regards
JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.


-- 
E-mail to website+h...@libreoffice.org for instructions on how to unsubscribe
List archives are available at http://www.libreoffice.org/lists/website/
All messages you send to this list will be publicly archived and cannot be 
deleted



Re: [libreoffice-website] SilverStripe : wrong date in form field

2010-11-13 Thread Michael Wheatland
Sorry Christan,
I am confused as to what top posting is.

And I totally agree with Marc that we should be using ISO formats.
The format including delimiters for the ISO8601:2004 standard is:

2003-04-01T13:01:02

Meaning 1st April 2003 at Time 13:01:02

As Marc suggested we should avoid using other date formats.

-- 
E-mail to website+h...@libreoffice.org for instructions on how to unsubscribe
List archives are available at http://www.libreoffice.org/lists/website/
All messages you send to this list will be publicly archived and cannot be 
deleted



Re: [libreoffice-website] SilverStripe : wrong date in form field

2010-11-13 Thread Christian Lohmaier
Hi Michael,

On Sat, Nov 13, 2010 at 1:49 PM, Michael Wheatland
mich...@wheatland.com.au wrote:

 I am confused as to what top posting is.

http://idallen.com/topposting.html

ciao
Christian

-- 
E-mail to website+h...@libreoffice.org for instructions on how to unsubscribe
List archives are available at http://www.libreoffice.org/lists/website/
All messages you send to this list will be publicly archived and cannot be 
deleted



Re: [libreoffice-website] SilverStripe : wrong date in form field

2010-11-13 Thread Michael Wheatland
Ah,
I use Gmail and it handles all of the quoting by and large.
It only displays a -show quoted text- link anywhere in the mail
whenever something is quoted.

It is a very good system for highlighting new content while allowing
access to old quoted info if it is relevant. I am not sure which other
clients have this functionality, but attemting to force every new
person to change the way they handle email is clearly not possible and
might put them off contributing to the community.

I will try to avoid top posting in the future, but I can't promise
anything for other new mailing list users. Might I suggest looking at
your mail clients features in order to handle this peeve of others
email formatting methods.

Mike

-- 
E-mail to website+h...@libreoffice.org for instructions on how to unsubscribe
List archives are available at http://www.libreoffice.org/lists/website/
All messages you send to this list will be publicly archived and cannot be 
deleted



Re: [libreoffice-website] SilverStripe : wrong date in form field

2010-11-13 Thread Christian Lohmaier
Hi Jean-Baptiste, *

On Fri, Nov 12, 2010 at 11:44 PM, Jean-Baptiste Faure
jbf.fa...@orange.fr wrote:

 If you create a form with a date field with today default value, you can
 see that there is a confusion between the month and the day :  today is
 Nov. 12 and the field says Dec. 11.

 Examples : http://fr.test.libreoffice.org/formulaire-de-contact/ and
 http://de.test.libreoffice.org/kontakt/

I updated the code to force the date to ISO-format (-MM-DD) thus
the problem should no longer occur, and the user will not be confused
anymore on how to interpret the date either.

I also updated silverstripe to the current release (move from 2.4.2 to 2.4.3)

ciao
Christian

--
E-mail to website+h...@libreoffice.org for instructions on how to unsubscribe
List archives are available at http://www.libreoffice.org/lists/website/
All messages you send to this list will be publicly archived and cannot be 
deleted



Re: [libreoffice-website] SilverStripe : wrong date in form field

2010-11-12 Thread Christian Lohmaier
Hi Jean-Baptiste,

thanks for the feedback

On Fri, Nov 12, 2010 at 11:44 PM, Jean-Baptiste Faure
jbf.fa...@orange.fr wrote:

 If you create a form with a date field with today default value, you can
 see that there is a confusion between the month and the day :  today is
 Nov. 12 and the field says Dec. 11.

 Examples : http://fr.test.libreoffice.org/formulaire-de-contact/ and
 http://de.test.libreoffice.org/kontakt/

It's not the wrong date, it just uses a bad/confusing format
(DD/MM/) so it mixes german/european ordering with US/american
delimiter. Today it should b e clear, as not it defaults to 13/11/2011
- and there is no month number 13 :-)
You can also verify by clicking on the entry box to open the calendar to choose

But yes, there is a mixup between internal value and then what the
from expects as input.

But having the datefield on there doesn't really make sense, as the
date of submission is stored anyway. And what sense would it have to
let a user specify another date than the current date when giving
feedback?

Also the forms don't make use of the spam protector field, that would
add a recaptcha (this might be on purpose, but in case there will be
problem with spam, remember that there is the possibility to add a
recaptcha)

So just remove that field for now.

ciao
Christian

--
E-mail to website+h...@libreoffice.org for instructions on how to unsubscribe
List archives are available at http://www.libreoffice.org/lists/website/
All messages you send to this list will be publicly archived and cannot be 
deleted



Re: [libreoffice-website] SilverStripe : wrong date in form field

2010-11-12 Thread Michael Wheatland
How is DD/MM/ a confusing format? The vast majority of the world
uses this format including the delimiter. - Little endian form
Going from smallest time increment to largest makes sense, it is
consistent in increment sizes ascending.
At work we often use  /MM/DD going from the largest to the
smallest, that way there is even consistancy in the hours and minutes
in decreasing in increment. - Big endian form.

Confusing would be any of these examples as they are not ascending or
descending.
DD//MM
MM/DD/
MM//DD

See: 
http://en.wikipedia.org/wiki/Calendar_date#Little_endian_forms.2C_starting_with_the_day

It doesn't mix any formats. The format and delimiter IS the standard.
P.S. It's not German ordering. See the wikipedia article on the origins.

Michael Wheatland

On Sat, Nov 13, 2010 at 9:01 AM, Christian Lohmaier
lohmaier+ooofut...@googlemail.com wrote:
 It's not the wrong date, it just uses a bad/confusing format
 (DD/MM/) so it mixes german/european ordering with US/american
 delimiter. Today it should b e clear, as not it defaults to 13/11/2011
 - and there is no month number 13 :-)

-- 
E-mail to website+h...@libreoffice.org for instructions on how to unsubscribe
List archives are available at http://www.libreoffice.org/lists/website/
All messages you send to this list will be publicly archived and cannot be 
deleted