File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
en/core/yql/reference/yql-core/udf/list
ru/core/yql/reference/yql-core/udf/list Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -262,17 +262,17 @@ Get a string representation of a time using an arbitrary formatting string.
262
262
263
263
### List of functions
264
264
265
- * ` DateTime::Format(String) -> (Resource<TM>{Flags:AutoMap}) -> String `
265
+ * ` DateTime::Format(String, alwaysWriteFractionalSeconds:Bool? ) -> (Resource<TM>{Flags:AutoMap}) -> String `
266
266
267
- A subset of specifiers similar to strptime is implemented for the formatting string.
267
+ A set of specifiers is implemented for the formatting string:
268
268
269
269
* ` %% ` : % character.
270
270
* ` %Y ` : 4-digit year.
271
271
* ` %m ` : 2-digit month.
272
272
* ` %d ` : 2-digit day.
273
273
* ` %H ` : 2-digit hour.
274
274
* ` %M ` : 2-digit minutes.
275
- * ` %S ` : 2-digit seconds -- or xx.xxxxxx in the case of non-empty microseconds.
275
+ * ` %S ` : 2-digit seconds -- or xx.xxxxxx in the case of non-empty microseconds (only if ` alwaysWriteFractionalSeconds ` is not set to ` True ` ) .
276
276
* ` %z ` : +hhmm or -hhmm.
277
277
* ` %Z ` : IANA name of the timezone.
278
278
* ` %b ` : A short three-letter English name of the month (Jan).
Original file line number Diff line number Diff line change @@ -269,17 +269,17 @@ SELECT
269
269
270
270
### Список функций
271
271
272
- * ` DateTime::Format(String) -> (Resource<TM>{Flags:AutoMap}) -> String `
272
+ * ` DateTime::Format(String, alwaysWriteFractionalSeconds:Bool? ) -> (Resource<TM>{Flags:AutoMap}) -> String `
273
273
274
- Для строки форматирования реализовано подмножество спецификаторов, аналогичных strptime.
274
+ Для строки форматирования реализовано множество спецификаторов:
275
275
276
276
* ` %% ` - символ %;
277
277
* ` %Y ` - год 4 цифры;
278
278
* ` %m ` - месяц 2 цифры;
279
279
* ` %d ` - день 2 цифры;
280
280
* ` %H ` - час 2 цифры;
281
281
* ` %M ` - минуты 2 цифры;
282
- * ` %S ` - секунды 2 цифры -- или xx.xxxxxx в случае непустых микросекунд;
282
+ * ` %S ` - секунды 2 цифры -- или xx.xxxxxx в случае непустых микросекунд (и только если флаг ` alwaysWriteFractionalSeconds ` не выставлен в ` True ` ) ;
283
283
* ` %z ` - +hhmm or -hhmm;
284
284
* ` %Z ` - IANA имя таймзоны;
285
285
* ` %b ` - короткое трехбуквенное английское название месяца (Jan);
You can’t perform that action at this time.
0 commit comments