mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-23 22:16:45 +00:00
make parsetime exportable
This commit is contained in:
@@ -173,7 +173,7 @@ func parseBool(value string) bool {
|
||||
return result
|
||||
}
|
||||
|
||||
func parseTime(value string) time.Time {
|
||||
func ParseTime(value string) time.Time {
|
||||
if value == "" {
|
||||
return time.Time{} // Return zero time if value is empty
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user