|
@@ -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
|