mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-28 23:20:10 +02:00
сделал log
This commit is contained in:
@@ -9,3 +9,12 @@ func StringSQLTime(time1 time.Time) string {
|
||||
|
||||
return Otvet
|
||||
}
|
||||
|
||||
func StringSQLTime_WithoutTimeZone(time1 time.Time) string {
|
||||
Otvet := ""
|
||||
|
||||
format := "2006-01-02T15:04:05.999999999+00:00"
|
||||
Otvet = "'" + time1.Format(format) + "'"
|
||||
|
||||
return Otvet
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user