Просмотр исходного кода

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

Gildas 1 год назад
Родитель
Сommit
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>