xyxie 8 月之前
父节点
当前提交
8704c8c82b
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 0 8
      utils/common.go

+ 0 - 8
utils/common.go

@@ -1252,14 +1252,6 @@ func PKCS5UnPadding(origData []byte) []byte {
 	return origData[:(length - unpadding)]
 }
 
-func TimeTransferString(format string, t time.Time) string {
-	str := t.Format(format)
-	if t.IsZero() {
-		return ""
-	}
-	return str
-}
-
 // handleSystemAppointDateT
 // @Description: 处理系统日期相关的指定频率(所在周/旬/月/季/半年/年的最后/最早一天)
 // @author: Roc