We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 648ac36 + ad46bb1 commit fc191f4Copy full SHA for fc191f4
src/frontend/app/ui/gallery/blog/blog.service.ts
@@ -56,7 +56,7 @@ export class BlogService {
56
}];
57
}
58
59
- dates.sort();
+ dates.sort((a, b) => a - b);
60
61
const splitterRgx = new RegExp(/^\s*<!--\s*@pg-date:?\s*\d{4}-\d{1,2}-\d{1,2}\s*-->/, 'gim');
62
const dateRgx = new RegExp(/\d{4}-\d{1,2}-\d{1,2}/);
0 commit comments