UNPKG
med-log
Version:
latest (0.2.3)
0.2.3
0.2.2
0.2.1
0.2.0
0.1.13
0.1.11
0.1.1
0.1.0
Logging package intended for gxp/samd regulated environments hosted in the cloud
med-log
/
dist
/
util
/
date.d.ts
7 lines
(6 loc)
•
267 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** * Prepends a 0 to n if n is less than 10, and returns that as a string. */
export
declare
function
prependZero
(
n
:
number
,
u
?:
number
):
string
;
export
declare
function
formatDate
(
date
:
Date
):
string
;
export
declare
function
formatTime
(
date
:
Date
):
string
;