fixed single digit dates (#767)
Co-authored-by: NaddH1 <naderhorani@hotmail.com>
This commit is contained in:
@@ -117,7 +117,7 @@ class Genesis implements Plugin.PluginBase {
|
||||
"dec",
|
||||
];
|
||||
const rx = new RegExp(
|
||||
`(${months.join("|")}).*? (\\d{2}).*?(\\d{4})`,
|
||||
`(${months.join("|")}).*? (\\d{1,2}).*?(\\d{4})`,
|
||||
"i"
|
||||
).exec(releaseDate);
|
||||
if (!rx) return;
|
||||
|
||||
Reference in New Issue
Block a user