From fd299f5b795903de5f91c83634f492987f6a732d Mon Sep 17 00:00:00 2001
From: Dean Karn <Dean.Karn@gmail.com>
Date: Mon, 8 Aug 2016 10:30:05 -0400
Subject: [PATCH 1/3] Update README.md

---
 README.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/README.md b/README.md
index 48ebdbbd4..c7da48843 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,9 @@ Package validator
 
 Package validator implements value validations for structs and individual fields based on tags.
 
+### Announcement
+Validator [v9.0.0 RC1](https://github.com/go-playground/validator/releases/tag/v9.0.0RC1) has been released, please let me know what you think [here](https://github.com/go-playground/validator/issues/250)
+
 It has the following **unique** features:
 
 -   Cross Field and Cross Struct validations by using validation tags or custom validators.  

From a298cfcee1c11850e30efbb37b8edab70a1e3c90 Mon Sep 17 00:00:00 2001
From: Dean Karn <dean@segment.com>
Date: Sat, 29 Jul 2017 21:56:23 -0700
Subject: [PATCH 2/3] Backport false possitive test fixes

---
 README.md         | 8 ++------
 validator_test.go | 8 ++++----
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/README.md b/README.md
index c7da48843..d3bd9b0f1 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,7 @@
 Package validator
 ================
-<img align="right" src="https://raw.githubusercontent.com/go-playground/validator/v8/logo.png">
-[![Join the chat at https://gitter.im/bluesuncorp/validator](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/go-playground/validator?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
-![Project status](https://img.shields.io/badge/version-8.18.1-green.svg)
+<img align="right" src="https://raw.githubusercontent.com/go-playground/validator/v8/logo.png">[![Join the chat at https://gitter.im/bluesuncorp/validator](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/go-playground/validator?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+![Project status](https://img.shields.io/badge/version-8.18.2-green.svg)
 [![Build Status](https://semaphoreci.com/api/v1/projects/ec20115f-ef1b-4c7d-9393-cc76aba74eb4/530054/badge.svg)](https://semaphoreci.com/joeybloggs/validator)
 [![Coverage Status](https://coveralls.io/repos/go-playground/validator/badge.svg?branch=v8&service=github)](https://coveralls.io/github/go-playground/validator?branch=v8)
 [![Go Report Card](https://goreportcard.com/badge/github.com/go-playground/validator)](https://goreportcard.com/report/github.com/go-playground/validator)
@@ -11,9 +10,6 @@ Package validator
 
 Package validator implements value validations for structs and individual fields based on tags.
 
-### Announcement
-Validator [v9.0.0 RC1](https://github.com/go-playground/validator/releases/tag/v9.0.0RC1) has been released, please let me know what you think [here](https://github.com/go-playground/validator/issues/250)
-
 It has the following **unique** features:
 
 -   Cross Field and Cross Struct validations by using validation tags or custom validators.  
diff --git a/validator_test.go b/validator_test.go
index ee6152765..3629acc2b 100644
--- a/validator_test.go
+++ b/validator_test.go
@@ -4839,7 +4839,7 @@ func TestIsGt(t *testing.T) {
 	errs = validate.Field(tm, "gt")
 	Equal(t, errs, nil)
 
-	t2 := time.Now().UTC()
+	t2 := time.Now().UTC().Add(-time.Hour)
 
 	errs = validate.Field(t2, "gt")
 	NotEqual(t, errs, nil)
@@ -4875,7 +4875,7 @@ func TestIsGte(t *testing.T) {
 	errs := validate.Field(t1, "gte")
 	Equal(t, errs, nil)
 
-	t2 := time.Now().UTC()
+	t2 := time.Now().UTC().Add(-time.Hour)
 
 	errs = validate.Field(t2, "gte")
 	NotEqual(t, errs, nil)
@@ -4920,7 +4920,7 @@ func TestIsLt(t *testing.T) {
 	i := true
 	PanicMatches(t, func() { validate.Field(i, "lt") }, "Bad field type bool")
 
-	t1 := time.Now().UTC()
+	t1 := time.Now().UTC().Add(-time.Hour)
 
 	errs = validate.Field(t1, "lt")
 	Equal(t, errs, nil)
@@ -4957,7 +4957,7 @@ func TestIsLte(t *testing.T) {
 	i := true
 	PanicMatches(t, func() { validate.Field(i, "lte") }, "Bad field type bool")
 
-	t1 := time.Now().UTC()
+	t1 := time.Now().UTC().Add(-time.Hour)
 
 	errs := validate.Field(t1, "lte")
 	Equal(t, errs, nil)

From 139e7737ad9fbcb26a1c44acd363e777f01c6247 Mon Sep 17 00:00:00 2001
From: sssinsi <tet643773+github@gmail.com>
Date: Wed, 30 Jan 2019 22:31:11 +0900
Subject: [PATCH 3/3] fix tag name from v8

---
 doc.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc.go b/doc.go
index fdede2c4c..d208ea2eb 100644
--- a/doc.go
+++ b/doc.go
@@ -665,7 +665,7 @@ Printable ASCII
 This validates that a string value contains only printable ASCII characters.
 NOTE: if the string is blank, this validates as true.
 
-	Usage: asciiprint
+	Usage: printascii
 
 Multi-Byte Characters
 
