@colisweb/rescript-toolkit 2.59.0 → 2.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -348,8 +348,17 @@ module FormattedTimeParts = {
|
|
|
348
348
|
|
|
349
349
|
module FormattedTimeWithSeparator = {
|
|
350
350
|
@react.component
|
|
351
|
-
let make = (
|
|
352
|
-
|
|
351
|
+
let make = (
|
|
352
|
+
~value: Js.Date.t,
|
|
353
|
+
~separator=?,
|
|
354
|
+
~month=?,
|
|
355
|
+
~hour=?,
|
|
356
|
+
~minute=?,
|
|
357
|
+
~second=?,
|
|
358
|
+
~timeZone=?,
|
|
359
|
+
~hour12=?,
|
|
360
|
+
) => {
|
|
361
|
+
<FormattedTimeParts value ?month ?hour ?minute ?second ?timeZone ?hour12>
|
|
353
362
|
{(~formattedTimeParts) => {
|
|
354
363
|
let (hours, sep, minutes) = formattedTimeParts->Obj.magic
|
|
355
364
|
|