File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
kubernetes/lib/Kubernetes/OpenAPI Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -434,16 +434,16 @@ instance P.Show DateTime where
434
434
instance MimeRender MimeMultipartFormData DateTime where
435
435
mimeRender _ = mimeRenderDefaultMultipartFormData
436
436
437
- -- | @_parseISO8601 @
438
- _readDateTime :: (TI. ParseTime t , Monad m , Alternative m ) => String -> m t
437
+ -- | @TI.parseTimeM True TI.defaultTimeLocale "%FT%T%6QZ" @
438
+ _readDateTime :: (TI. ParseTime t , Monad m , ) => String -> m t
439
439
_readDateTime =
440
- _parseISO8601
440
+ TI. parseTimeM True TI. defaultTimeLocale " %FT%T%6QZ "
441
441
{-# INLINE _readDateTime #-}
442
442
443
- -- | @TI.formatISO8601Micros @
444
- _showDateTime :: (t ~ TI. UTCTime , TI. FormatTime t ) => t -> String
443
+ -- | @TI.formatTime TI.defaultTimeLocale "%FT%T%6QZ" @
444
+ _showDateTime :: (TI. FormatTime t ) => t -> String
445
445
_showDateTime =
446
- TI. formatISO8601Micros
446
+ TI. formatTime TI. defaultTimeLocale " %FT%T%6QZ "
447
447
{-# INLINE _showDateTime #-}
448
448
449
449
-- | parse an ISO8601 date-time string
You can’t perform that action at this time.
0 commit comments