瀏覽代碼

add %date-locale, %time-locale, %datetime-locale functions

Gildas 1 年之前
父節點
當前提交
70b6389fef
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      src/ui/pages/help.html

+ 9 - 0
src/ui/pages/help.html

@@ -1083,6 +1083,15 @@
 						attribute of the first element matching the specified selector (e.g.
 						"%page-element-attribute<h1|class>" for the class attribute of the first H1 element)
 					</li>
+					<li><code>%date-locale&lt;locales&gt;</code>: the localized value of the date and time (e.g.
+						"%date-locale&lt;en-US&gt;" for the date and time in the US English format)
+					</li>
+					<li><code>%time-locale&lt;locales&gt;</code>: the localized value of the time (e.g.
+						"%time-locale&lt;en-US&gt;" for the time in the US English format)
+					</li>
+					<li><code>%datetime-locale&lt;locales&gt;</code>: the localized value of the date and time (e.g.
+						"%datetime-locale&lt;en-US&gt;" for the date and time in the US English format)
+					</li>
 				</ul>
 			</li>
 			<li>