2021-06-16 17:56:10 +00:00
|
|
|
package changelog
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"time"
|
|
|
|
|
2021-12-11 03:37:42 +00:00
|
|
|
"github.com/haunt98/clock-go"
|
2021-06-16 17:56:10 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func generateVersionHeaderValue(version string, when time.Time) string {
|
|
|
|
return fmt.Sprintf("%s (%s)", version, clock.FormatDate(when))
|
|
|
|
}
|