func customTimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder) {
	enc.AppendString(t.Format(customTimeFormat))
}
customTimeEncoder encode Time to our custom format
This example how we can customize zap default functionality
package logger
import (
	"errors"
	"go.uber.org/zap"
	"go.uber.org/zap/zapcore"
	"os"
	"time"
)
var (
	Log *zap.Logger
	customTimeFormat string
)
type Config struct {
	LogLevel    zapcore.Level
	Development bool
}