aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Common/NamingOptions.cs
diff options
context:
space:
mode:
authorscampower3 <81431263+scampower3@users.noreply.github.com>2023-08-10 17:49:26 +0800
committerGitHub <noreply@github.com>2023-08-10 17:49:26 +0800
commit36a2ea69afcb54070b45cf71fdce02a81d25ccd8 (patch)
tree1a512e244ccdad7575fd85584083000cc7f8dfcb /Emby.Naming/Common/NamingOptions.cs
parent4271f7b5ad90abef51cded9957dbfd9f4d23c2a2 (diff)
parent710f5916f0017c5d478c0d853102a76e32cc8b59 (diff)
Merge branch 'master' into master
Diffstat (limited to 'Emby.Naming/Common/NamingOptions.cs')
-rw-r--r--Emby.Naming/Common/NamingOptions.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/Emby.Naming/Common/NamingOptions.cs b/Emby.Naming/Common/NamingOptions.cs
index a069da102..2bd089ed8 100644
--- a/Emby.Naming/Common/NamingOptions.cs
+++ b/Emby.Naming/Common/NamingOptions.cs
@@ -318,22 +318,24 @@ namespace Emby.Naming.Common
new EpisodeExpression(@"[\._ -]()[Ee][Pp]_?([0-9]+)([^\\/]*)$"),
// <!-- foo.E01., foo.e01. -->
new EpisodeExpression(@"[^\\/]*?()\.?[Ee]([0-9]+)\.([^\\/]*)$"),
- new EpisodeExpression("(?<year>[0-9]{4})[\\.-](?<month>[0-9]{2})[\\.-](?<day>[0-9]{2})", true)
+ new EpisodeExpression(@"(?<year>[0-9]{4})[._ -](?<month>[0-9]{2})[._ -](?<day>[0-9]{2})", true)
{
DateTimeFormats = new[]
{
"yyyy.MM.dd",
"yyyy-MM-dd",
- "yyyy_MM_dd"
+ "yyyy_MM_dd",
+ "yyyy MM dd"
}
},
- new EpisodeExpression(@"(?<day>[0-9]{2})[.-](?<month>[0-9]{2})[.-](?<year>[0-9]{4})", true)
+ new EpisodeExpression(@"(?<day>[0-9]{2})[._ -](?<month>[0-9]{2})[._ -](?<year>[0-9]{4})", true)
{
DateTimeFormats = new[]
{
"dd.MM.yyyy",
"dd-MM-yyyy",
- "dd_MM_yyyy"
+ "dd_MM_yyyy",
+ "dd MM yyyy"
}
},