Skip to content

Commit

Permalink
Update time.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kolinfluence authored Apr 19, 2023
1 parent 73b5660 commit 472a241
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions time.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package cxtime

import (
"time"
"unsafe"

cxbytes "github.com/cloudxaas/gobytes"
)

Expand Down Expand Up @@ -35,5 +33,5 @@ func YearNowString() string {
byte((year/10)%10) + '0',
byte(year%10) + '0',
}
return string(buf)
return string(buf[:])
}

0 comments on commit 472a241

Please sign in to comment.