From c76ad944920300be58446ddd1a50c8d693957774 Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Thu, 6 Apr 2017 13:53:33 +0300 Subject: .travis, build: autodelete old unstable archives (#13867) This commit adds a build step to travis to auto-delete unstable archives older than 14 days (our regular release schedule) from Azure via ci.go purge. The commit also pulls in the latest Azure storage code, also switching over from the old import path (github.com/Azure/azure-sdk-for-go) to the new split one (github.com/Azure/azure-storage-go). --- vendor/github.com/Azure/go-autorest/autorest/date/utility.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 vendor/github.com/Azure/go-autorest/autorest/date/utility.go (limited to 'vendor/github.com/Azure/go-autorest/autorest/date/utility.go') diff --git a/vendor/github.com/Azure/go-autorest/autorest/date/utility.go b/vendor/github.com/Azure/go-autorest/autorest/date/utility.go new file mode 100644 index 000000000..207b1a240 --- /dev/null +++ b/vendor/github.com/Azure/go-autorest/autorest/date/utility.go @@ -0,0 +1,11 @@ +package date + +import ( + "strings" + "time" +) + +// ParseTime to parse Time string to specified format. +func ParseTime(format string, t string) (d time.Time, err error) { + return time.Parse(format, strings.ToUpper(t)) +} -- cgit