mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 23:28:51 -05:00
added note about + and - characters in Time Zone Definitions
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@401 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
3a4b05e92f
commit
3b5d76c130
@ -119,7 +119,7 @@
|
||||
<code>
|
||||
hh:mm:ss[.sss][TZD]
|
||||
</code>
|
||||
<p>The Time Zone Definition is optional; if included, it MUST be either UTC (denoted by addition of the character 'Z' to the end of the string) or some offset from UTC (denoted by addition of '[+|-]' and 'hh:mm' to the end of the string). The fractions of a second are optional and MAY be ignored if included (although a Jabber protocol using the DateTime profile MAY require the fractions of a second).</p>
|
||||
<p>The Time Zone Definition is optional; if included, it MUST be either UTC (denoted by addition of the character 'Z' to the end of the string) or some offset from UTC (denoted by addition of '[+|-]' <note>Inclusion of the '+' character means that the time in that zone is ahead of UTC; e.g., a Time Zone Definition of "+07:00" means that if the UTC time is 12:00 then the local time is 19:00 (typically this is true of an area that is east of 0° degrees latitude and west of 180° latitude, such as Bangkok, Thailand). Inclusion of the '-' character means that the time in that zone is behind UTC; e.g., a Time Zone Definition of "-07:00" means that if the UTC time is 12:00 then the local time is 05:00 (typically this is true of an area that is west of 0° degrees latitude and east of 180° latitude, such as Denver, Colorado, USA).</note> and 'hh:mm' to the end of the string). The fractions of a second are optional and MAY be ignored if included (although a Jabber protocol using the DateTime profile MAY require the fractions of a second).</p>
|
||||
<p>This profile is equivalent to the 'time' datatype defined in XML Schema <note>The 'time' datatype is defined at <<link url='http://www.w3.org/TR/xmlschema-2/#time'>http://www.w3.org/TR/xmlschema-2/#time</link>>.</note>. When an XML schema is used to define a Jabber protocol that uses this profile, the datatype MUST be an XML Schema 'time'. If there are differences between the description in this document and those in XML Schema, the latter overrule.</p>
|
||||
<example caption='Time for tea'>
|
||||
16:00:00
|
||||
|
Loading…
Reference in New Issue
Block a user