You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Format a date using the conventional format for the active language.
169
+
170
+
``date`` is a Date object to be formatted. When ``date`` is a string, the Date object is created by ``new Date(date)``.
171
+
172
+
``format`` is an object passed to the ``options`` argument of the `Intl.DateTimeFormat constructor <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat>`_ (optional).
Format a number using the conventional format for the active language.
200
+
201
+
``number`` is a number to be formatted.
202
+
203
+
``format`` is an object passed to the ``options`` argument of the `Intl.NumberFormat constructor <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat>`_ (optional).
0 commit comments