Skip to content

Commit ebb6a0d

Browse files
committed
remove debug print line
1 parent c99a052 commit ebb6a0d

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

time.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
package funcmap
66

7-
import (
8-
"fmt"
9-
"time"
10-
)
7+
import "time"
118

129
// Time converts the textual representation of the datetime
1310
// string into a time.Time interface.
@@ -28,7 +25,6 @@ func Time(v interface{}, args ...interface{}) (interface{}, error) {
2825
}
2926
return t.In(loc), nil
3027
}
31-
fmt.Println(t)
3228
return t, nil
3329
}
3430

@@ -37,7 +33,6 @@ func Time(v interface{}, args ...interface{}) (interface{}, error) {
3733
// the time.Time value. These are formatted with the layout
3834
// string
3935
func TimeFormat(layout string, v interface{}) (string, error) {
40-
println("TIMEFORMAT")
4136
t, err := toTimeE(v)
4237
if err != nil {
4338
return "", err

time_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44

55
package funcmap
66

7-
import (
8-
"testing"
9-
)
7+
import "testing"
108

119
func TestTime(t *testing.T) {
1210
tests := []struct {

0 commit comments

Comments
 (0)