Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add current-date-and-time extension #17138

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

MikeshCZ
Copy link

@MikeshCZ MikeshCZ commented Feb 17, 2025

Description

This Raycast extension allows you to quickly insert the current date and/or time into your documents, emails or to any field.

Screencast

Screen.Recording.2025-02-17.at.23.56.50.mov

Checklist

@raycastbot
Copy link
Collaborator

Congratulations on your new Raycast extension! 🚀

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

@raycastbot raycastbot added the new extension Label for PRs with new extensions label Feb 17, 2025
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Added a new Raycast extension that enables users to insert current date and time into documents with customizable format options and preferences.

  • Implemented three distinct commands in /extensions/current-date-and-time/src/ for inserting date-time, date-only, and time-only with support for EU/ISO/US date formats
  • Added user preferences in package.json for 24-hour time format toggle and date format selection (EU/ISO/US)
  • Included clipboard functionality in source files for copying and pasting formatted dates/times
  • Configured proper TypeScript settings in tsconfig.json with ES2023 library support and strict type checking
  • Added comprehensive documentation in README.md with features, preferences, and command descriptions

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

10 file(s) reviewed, 14 comment(s)
Edit PR Review Bot Settings | Greptile

MikeshCZ and others added 10 commits February 18, 2025 00:04
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Actual change to active document in description
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@pernielsentikaer
Copy link
Collaborator

Everything in this PR is built-in inside Raycast with snippets and dynamic placeholders, did you play with that before creating this pr?

@pernielsentikaer pernielsentikaer self-assigned this Feb 18, 2025
@MikeshCZ
Copy link
Author

Everything in this PR is built-in inside Raycast with snippets and dynamic placeholders, did you play with that before creating this pr?

@pernielsentikaer This is definitely a good alternative. However, it’s missing possibility to add snippet directly as menu item and the key binding cannot be set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new extension Label for PRs with new extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants