From f8c3668bdaca230644dfb6cf5d335d9e20efd9f3 Mon Sep 17 00:00:00 2001 From: Benjamin VAUDOUR Date: Thu, 14 Mar 2024 10:20:01 +0100 Subject: [PATCH] Correction des constantes du module datetime --- datetime/const.go | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/datetime/const.go b/datetime/const.go index c98ef83..4d0d8cd 100644 --- a/datetime/const.go +++ b/datetime/const.go @@ -29,7 +29,9 @@ const ( MicrosecondPerSecond = MicrosecondPerMillisecond * MillisecondPerSecond NanosecondPerMillisecond = NanosecondPerMicrosecond * MicrosecondPerMillisecond NanosecondPerSecond = NanosecondPerMicrosecond * MicrosecondPerSecond +) +const ( // Unités supportées NoUnit Unit = iota Millisecond @@ -49,7 +51,9 @@ const ( maskUnit = 1<