Skip to content

feat: improve date format#208

Merged
JerryZLiu merged 1 commit intoJerryZLiu:mainfrom
vegerot:pr208
Mar 4, 2026
Merged

feat: improve date format#208
JerryZLiu merged 1 commit intoJerryZLiu:mainfrom
vegerot:pr208

Conversation

@vegerot
Copy link
Copy Markdown
Contributor

@vegerot vegerot commented Feb 17, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the date/time format in AI prompt templates by adding a colon (:) after the time range separator, changing the format from [H:MM AM/PM] - [H:MM AM/PM] [action] to [H:MM AM/PM] - [H:MM AM/PM]: [action] across both LLM prompt preference files.

Changes:

  • Updated the time format in GeminiPromptPreferences.swift to include a colon after the time range in format instructions and examples.
  • Applied the same colon-after-time-range update to ChatCLIPromptPreferences.swift.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
Dayflow/Dayflow/Core/AI/GeminiPromptPreferences.swift Added colon after time ranges in the detailed summary format instructions, good examples, and bad examples.
Dayflow/Dayflow/Core/AI/ChatCLIPromptPreferences.swift Same colon-after-time-range update, but contains a typo on line 164 where the colon is misplaced (7:35: AM instead of 7:35 AM:).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Bad example:
"7:00 AM - 7:30 AM writing Notion doc
7:30 AM - 7:35 AM Slack
7:30 AM - 7:35: AM Slack
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

Typo: the colon is misplaced here — 7:35: AM should be 7:35 AM: to match the format used in all the other lines and in the corresponding line in GeminiPromptPreferences.swift (line 140: 7:30 AM - 7:35 AM: Slack).

Suggested change
7:30 AM - 7:35: AM Slack
7:30 AM - 7:35 AM: Slack

Copilot uses AI. Check for mistakes.
@JerryZLiu JerryZLiu merged commit 2ef85d7 into JerryZLiu:main Mar 4, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants