File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -729,3 +729,18 @@ export const formatIso8601 = format.iso8601;
729729 *
730730 * For other formats, see `@softwareventures/format-date-time`. */
731731export const formatDateTimeIso8601 = format . iso8601 ;
732+
733+ /** Formats the specified {@link DateTime} as ISO 8601 extended, rounded down
734+ * to the next lower second, and with the time delimited by a space `" "`.
735+ *
736+ * This format is intended to be reasonable for display to humans. */
737+ export const formatHumanIso8601 = format . humanIso8601 ;
738+
739+ /** Formats the specified {@link DateTime} as ISO 8601 extended, rounded down
740+ * to the next lower second, and with the time delimited by a space `" "`.
741+ *
742+ * This format is intended to be reasonable for display to humans.
743+ *
744+ * Alias of {@link formatHumanIso8601}, useful for disambiguation from similar
745+ * functions that operate on other date/time types. */
746+ export const formatDateTimeHumanIso8601 = format . humanIso8601 ;
You can’t perform that action at this time.
0 commit comments