Skip to content

Commit 3431a70

Browse files
committed
Fix datetime problem with kubernetes. Pass microseconds instead of milliseconds
1 parent 01b367b commit 3431a70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

kubernetes/kubernetes-client-core.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: kubernetes-client-core
2-
version: 0.1.0.1
2+
version: 0.1.0.2
33
synopsis: Auto-generated kubernetes-client-core API Client
44
description: .
55
Client library for calling the Kubernetes API based on http-client.

kubernetes/lib/Kubernetes/OpenAPI/Core.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,10 @@ _readDateTime =
440440
_parseISO8601
441441
{-# INLINE _readDateTime #-}
442442

443-
-- | @TI.formatISO8601Millis@
443+
-- | @TI.formatISO8601Micros@
444444
_showDateTime :: (t ~ TI.UTCTime, TI.FormatTime t) => t -> String
445445
_showDateTime =
446-
TI.formatISO8601Millis
446+
TI.formatISO8601Micros
447447
{-# INLINE _showDateTime #-}
448448

449449
-- | parse an ISO8601 date-time string

0 commit comments

Comments
 (0)