Skip to content
Permalink
Browse files

- song year now accepts 2020

  • Loading branch information
cozy1 committed Jan 20, 2020
1 parent f951128 commit 4dfa389c6dd6617a4c00d76eb1d0e9f8ee4f9c8f
@@ -29,5 +29,5 @@
//
// THESE VALUES ARE PROGRAMMATICALLY GENERATED - DO NOT EDIT
[assembly: AssemblyVersion("2.9.2.1")]
[assembly: AssemblyInformationalVersion("226274f6")]
[assembly: AssemblyConfiguration("2020-01-20T01:57:48")]
[assembly: AssemblyInformationalVersion("f9511285")]
[assembly: AssemblyConfiguration("2020-01-20T21:07:37")]
@@ -322,7 +322,7 @@ public static string GetValidYear(this string value)
return String.Empty;

// check for valid four digit song year
if (!Regex.IsMatch(value, "^(15[0-9][0-9]|16[0-9][0-9]|17[0-9][0-9]|18[0-9][0-9]|19[0-9][0-9]|20[0-1][0-9])"))
if (!Regex.IsMatch(value, "^(15[0-9][0-9]|16[0-9][0-9]|17[0-9][0-9]|18[0-9][0-9]|19[0-9][0-9]|20[0-2][0-9])"))

This comment has been minimized.

Copy link
@L0FKA

L0FKA Jan 22, 2020

Contributor

you'll need to fix this in next 10 years? probably 2029 would be the last :O

value = ""; // clear if not valid

return value;
@@ -29,5 +29,5 @@
//
// THESE VALUES ARE PROGRAMMATICALLY GENERATED - DO NOT EDIT
[assembly: AssemblyVersion("2.9.2.1")]
[assembly: AssemblyInformationalVersion("226274f6")]
[assembly: AssemblyConfiguration("2020-01-20T01:57:48")]
[assembly: AssemblyInformationalVersion("f9511285")]
[assembly: AssemblyConfiguration("2020-01-20T21:07:37")]
@@ -29,5 +29,5 @@
//
// THESE VALUES ARE PROGRAMMATICALLY GENERATED - DO NOT EDIT
[assembly: AssemblyVersion("2.9.2.1")]
[assembly: AssemblyInformationalVersion("226274f6")]
[assembly: AssemblyConfiguration("2020-01-20T01:57:48")]
[assembly: AssemblyInformationalVersion("f9511285")]
[assembly: AssemblyConfiguration("2020-01-20T21:07:37")]
@@ -1,3 +1,3 @@
2.9.2.1
226274f6
2020-01-20T01:57:48
f9511285
2020-01-20T21:07:37

0 comments on commit 4dfa389

Please sign in to comment.
You can’t perform that action at this time.