Compare commits
No commits in common. "d328d4785929c325bd15b0057a34c064a5cea46a" and "726100b6a55ecf055ba69f96fa6b502a51ed2723" have entirely different histories.
d328d47859
...
726100b6a5
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@teacinema/common",
|
"name": "@teacinema/common",
|
||||||
"version": "1.3.0",
|
"version": "1.2.0",
|
||||||
"description": "Common library for TeaCinema microservices",
|
"description": "Common library for TeaCinema microservices",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
@ -1,2 +1 @@
|
|||||||
export * from './convert-enum.util'
|
export * from './convert-enum.util'
|
||||||
export * from './timestamp-to-iso.util'
|
|
||||||
|
|||||||
@ -1,5 +0,0 @@
|
|||||||
import { Timestamp } from '@teacinema/contracts/gen/ts/google/protobuf/timestamp'
|
|
||||||
|
|
||||||
export function timestampToISO(ts: Timestamp) {
|
|
||||||
new Date(ts.seconds * 1000 + ts.nanos / 1_000_000).toISOString()
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user