UNPKG
healthone
Version:
latest (7.0.0)
7.0.0
6.1.0
6.0.2
6.0.1
6.0.0
5.0.2
5.0.1
5.0.0
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.0.0
2.0.0
1.0.0
0.1.0
0.0.1
0.0.0
Health One format library for JavaScript
infoderm.github.io/healthone
infoderm/healthone
healthone
/
dist
/
browser
/
stringifyDate.cjs
2 lines
•
297 B
JavaScript
View Raw
1
2
"use strict"
;
var
_dateFns=
require
(
"date-fns"
);
Object
.
defineProperty
(
exports
,
"__esModule"
,{
value
:!
0
}),
exports
.
default
=stringifyDate;
function
stringifyDate
(
a,b
){
const
c=a
instanceof
Date
?
a
:(
0
,_dateFns.
parseISO
)(a);
return
(
0
,_dateFns.
format
)(c,b.
dateFormat
)}
//# sourceMappingURL=stringifyDate.cjs.map