photo-manager/lib/readable-timestamp.js

11 lines
174 B
JavaScript
Raw Normal View History

2023-10-04 01:24:49 +02:00
'use strict'
// readable timestamp
module.exports = exports = ( ) =>
'\x1b[32m'
+ ( new Date )
.toJSON( )
.slice( 0, 23 )
.replace( 'T', ' ' )
+ '\x1b[0m'