Skip to content

Commit ef6bdf3

Browse files
committed
adding date-time information
1 parent 3025aa1 commit ef6bdf3

1 file changed

Lines changed: 23 additions & 6 deletions

File tree

css3-gcpm/Overview.src.html

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,21 @@
8181
8282
-->
8383

84+
<!--
85+
http://opengroup.org/onlinepubs/007908775/xbd/locale.html
86+
87+
d_t_fmt
88+
Define the appropriate date and time representation, corresponding to the %c field descriptor. The operand consists of a string, and can contain any combination of characters and field descriptors. In addition, the string can contain escape sequences defined in the table in Escape Sequences and Associated Actions (\\, \a, \b, \f, \n, \r, \t, \v).
89+
d_fmt
90+
Define the appropriate date representation, corresponding to the %x field descriptor. The operand consists of a string, and can contain any combination of characters and field descriptors. In addition, the string can contain escape sequences defined in the table in Escape Sequences and Associated Actions .
91+
t_fmt
92+
Define the appropriate time representation, corresponding to the %X field descriptor. The operand consists of a string, and can contain any combination of characters and field descriptors. In addition, the string can contain escape sequences defined in the table in Escape Sequences and Associated Actions .
93+
94+
95+
-->
96+
97+
98+
8499
<h1>CSS Generated Content for Paged Media Module</h1>
85100

86101
<h2 class="no-num no-toc" id="w3c-working">[LONGSTATUS] [DATE]</h2>
@@ -271,22 +286,24 @@ <h4>Setting named strings: the 'string-set' property</h4>
271286

272287
<dt>''env()''
273288

274-
<dd>This functions returns data from the enviroment of the document at
275-
the time of formatting.
289+
<dd>This function returns data from the environment of the user at
290+
the time of formatting.
276291

277292
<div class=example>
278293

279294
<p>Possible uses of this function are:
280295

281296
<pre>
282-
string-set: date env(year) "-" env(month) "-" env(day);
283-
string-set: date env(YYYY) "-" env(MM) "-" env(DD);
284-
string-set: date env(date);
285-
string-set: url env(url);
297+
string-set: date env(date);
298+
string-set: date env(time);
299+
string-set: date env(date-time);
300+
string-set: url env(url);
286301
</pre>
287302

288303
</div>
289304

305+
<p class=note>Information about date and time is formatted according to the locale of the user. Implementors can get access to preformatted strings by way of the <a href="http://www.opengroup.org/onlinepubs/009695399/functions/strftime.html">strftime</a> function. The date, time and date-time strings can be found by using the "%x", "%X" and "%c" conversion strings, respectively
306+
290307
</dl>
291308
</dl>
292309

0 commit comments

Comments
 (0)