Compare commits

..

No commits in common. "57b6d19005114b3732d5265ce389df807ec1f5da" and "d328d4785929c325bd15b0057a34c064a5cea46a" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@teacinema/common",
"version": "1.3.1",
"version": "1.3.0",
"description": "Common library for TeaCinema microservices",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -1,5 +1,5 @@
import { Timestamp } from '@teacinema/contracts/gen/ts/google/protobuf/timestamp'
export function timestampToISO(ts: Timestamp) {
return new Date(ts.seconds * 1000 + ts.nanos / 1_000_000).toISOString()
new Date(ts.seconds * 1000 + ts.nanos / 1_000_000).toISOString()
}