Show bookmarks on post page

This commit is contained in:
2024-07-10 18:57:59 +10:00
parent 98e289744a
commit 87d8e5a1fa
5 changed files with 25 additions and 13 deletions

View File

@@ -10,13 +10,6 @@ module Main
end
def from_the_archives(start_date:, end_date:)
# SELECT * FROM posts
# WHERE EXTRACT(month FROM "published_at") >= 2
# WHERE EXTRACT(month FROM "published_at") <= 2+
# AND EXTRACT(day FROM "published_at") > 20
# AND EXTRACT(day FROM "published_at") < 27
# AND post_type = 'post';
movies
.where { Sequel.extract(:year, :watched_at) >= start_date.year }
.where { Sequel.extract(:year, :watched_at) <= start_date.year }