This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
leo
/
LAPP_Acura_MES_Backend
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
33
Wiki
Activity
Browse Source
修正了将时间导出到Excel文件中发生的错误
pull/154/head
allanwei
3 years ago
parent
1732d9941d
commit
2b0d12a52d
3 changed files
with
24 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
grmi/Date.go
+8
-0
grmi/DateTime.go
+8
-0
grmi/Time.go
+ 8
- 0
grmi/Date.go
View File
@ -39,3 +39,11 @@ func (self *Date) ToString() string {
date
:=
self
.
Restore
(
)
return
date
.
Format
(
DateOutFormat
)
}
func
(
self
*
Date
)
String
(
)
string
{
if
self
==
nil
{
return
""
}
date
:=
self
.
Restore
(
)
return
date
.
Format
(
DateTimeOutFormat
)
}
+ 8
- 0
grmi/DateTime.go
View File
@ -39,3 +39,11 @@ func (self *DateTime) ToString() string {
date
:=
self
.
Restore
(
)
return
date
.
Format
(
DateTimeOutFormat
)
}
func
(
self
*
DateTime
)
String
(
)
string
{
if
self
==
nil
{
return
""
}
date
:=
self
.
Restore
(
)
return
date
.
Format
(
DateTimeOutFormat
)
}
+ 8
- 0
grmi/Time.go
View File
@ -35,3 +35,11 @@ func (self *Time) ToString() string {
date
:=
self
.
Restore
(
)
return
date
.
Format
(
TimeOutFormat
)
}
func
(
self
*
Time
)
String
(
)
string
{
if
self
==
nil
{
return
""
}
date
:=
self
.
Restore
(
)
return
date
.
Format
(
DateTimeOutFormat
)
}
Write
Preview
Loading…
Cancel
Save