pystare.temporal.force_3ms#

force_3ms(timestamp)#

Forces 3 digits for the millisecods in an ISO timestamp.

Examples

>>> pystare.force_3ms('2021-08-26T17:03:56.6')
'2021-08-26T17:03:56.600'
>>> pystare.force_3ms('2021-08-26T17:03:56.643365456345')
'2021-08-26T17:03:56.643'