Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions promotions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"key": "Cyber Monday 2025",
"start_date": "2025-12-01 9:00:00 EST",
"end_date": "2025-12-05 12:00:00 EST",
"title": "Biggest Cyber Monday Sale of the Year → Get Up to 45% Off WP Project Manager",
"content": "Get WP Project Manager for a lifetime this Black Friday at an unbeatable price, with unlimited team members and no per-user cost. Don't miss out!",
"action_url": "https://wedevs.com/wp-project-manager-pro/pricing/?utm_source=Ad+Roll&utm_medium=Banner&utm_campaign=Black+Friday+2025",
"action_title": "Get Your Exclusive BFCM Deal"
"key": "Holiday_Sale",
"start_date": "2025-12-18 9:00:00 EST",
"end_date": "2025-12-31 12:00:00 EST",
Comment on lines +3 to +4
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion | 🟠 Major

Standardize time format for consistency.

Line 3 uses a single-digit hour (9:00:00) while Line 4 uses zero-padded format (12:00:00). Depending on the datetime parser implementation, this inconsistency could cause parsing errors or unexpected behavior.

🔎 Proposed fix
-  "start_date": "2025-12-18 9:00:00 EST",
+  "start_date": "2025-12-18 09:00:00 EST",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"start_date": "2025-12-18 9:00:00 EST",
"end_date": "2025-12-31 12:00:00 EST",
"start_date": "2025-12-18 09:00:00 EST",
"end_date": "2025-12-31 12:00:00 EST",
🤖 Prompt for AI Agents
In promotions.json around lines 3 to 4, the start_date uses a single-digit hour
("9:00:00") while end_date is zero-padded ("12:00:00"); update start_date to use
a zero-padded hour ("09:00:00") to match the end_date format (or alternatively
convert both timestamps to a consistent ISO 8601 representation with explicit
offset), ensuring all datetime strings in the file follow the same format so
parsers won't fail.

"title": "Holiday Surprise Sale: Get WP Project Manager Pro with a Surprising Discount",
"content": "After the Successful BFCM period, we have come up with another surprise for you. If you've missed the BFCM deal, this is for you. It's a very limited time offer.",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix capitalization and consider more specific messaging.

Minor issues in the content:

  • "Successful BFCM period" has unnecessary mid-sentence capitalization (should be "successful")
  • "Very limited time offer" is vague—consider mentioning the specific end date or discount percentage to create urgency
🔎 Proposed fix
-  "content": "After the Successful BFCM period, we have come up with another surprise for you. If you've missed the BFCM deal, this is for you. It's a very limited time offer.",
+  "content": "After the successful BFCM period, we have come up with another surprise for you. If you've missed the BFCM deal, this is for you. Limited time offer ending December 31st.",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"content": "After the Successful BFCM period, we have come up with another surprise for you. If you've missed the BFCM deal, this is for you. It's a very limited time offer.",
"content": "After the successful BFCM period, we have come up with another surprise for you. If you've missed the BFCM deal, this is for you. Limited time offer ending December 31st.",
🤖 Prompt for AI Agents
In promotions.json around line 6, the sentence uses incorrect mid-sentence
capitalization ("Successful BFCM period") and a vague call-to-action ("very
limited time offer"); change "Successful" to "successful" and revise the copy to
include a concrete urgency detail (e.g., end date or discount percent) and more
specific messaging—for example, replace the vague clause with a clear offer line
such as the exact discount or expiry date and ensure punctuation and tone remain
concise and customer-facing.

"action_url": "https://wedevs.com/wp-project-manager-pro/pricing/?utm_source=Ad+Roll&utm_medium=Banner&utm_campaign=Holiday+2025",
"action_title": "Unveil the Surprise Now→"
}