Changeset 015ce46 in Klonkt for src/services/Scheduler.js
- Timestamp:
- 06/21/2026 04:32:54 PM (3 months ago)
- Branches:
- main
- Children:
- 9effb80
- Parents:
- 5a394e5
- File:
-
- 1 edited
-
src/services/Scheduler.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/services/Scheduler.js
r5a394e5 r015ce46 16 16 SELECT p.id, p.title, p.content, u.username 17 17 FROM posts p JOIN users u ON u.id = p.author_id 18 WHERE p.status = 'scheduled' AND p.publish_at IS NOT NULL AND p.publish_at <= CURRENT_TIMESTAMP18 WHERE p.status = 'scheduled' AND p.publish_at IS NOT NULL AND datetime(p.publish_at) <= datetime('now') 19 19 `).all(); 20 20 if (!due.length) return 0;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)