xs:time

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

xs:time

Prameela R

Hi,

 

I am using xs:time type in bind tag.

 

When I use 12am or 12pm it automatically setting it to 00:00:00 p.m.

For other values like 2am or 2pm ,it is showing correct time.

Why only for the time starting with 12 is not woking proper.

 

If this is the case how can we differentiate the times 12 am and 12 pm.

 

Prameela.

 

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xs:time

Alessandro Vernet
Administrator
Prameela,

On Jan 11, 2009, at 11:13 PM, Prameela R wrote:
> When I use 12am or 12pm it automatically setting it to 00:00:00 p.m.
>
> For other values like 2am or 2pm ,it is showing correct time.
>
> Why only for the time starting with 12 is not woking proper.
>
I think that most people will expect:

* 12 pm to mean noon (and to be shown as 12:00:00 pm).
* 12 am to mean midnight (and to be shown as 00:00:00 am).

Does this make sense?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws