From 472a24162985facddddce0dfde54e697131bf644 Mon Sep 17 00:00:00 2001 From: Kol Influence <104323920+kolinfluence@users.noreply.github.com> Date: Wed, 19 Apr 2023 03:09:25 -0700 Subject: [PATCH] Update time.go --- time.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/time.go b/time.go index fcb7693..8115466 100644 --- a/time.go +++ b/time.go @@ -2,8 +2,6 @@ package cxtime import ( "time" - "unsafe" - cxbytes "github.com/cloudxaas/gobytes" ) @@ -35,5 +33,5 @@ func YearNowString() string { byte((year/10)%10) + '0', byte(year%10) + '0', } - return string(buf) + return string(buf[:]) }