Skip to content

Add keybindings to insert server date/datetime#1245

Merged
rolandwalker merged 1 commit into
mainfrom
RW/date-time-shortcut-keybindings
Jul 5, 2025
Merged

Add keybindings to insert server date/datetime#1245
rolandwalker merged 1 commit into
mainfrom
RW/date-time-shortcut-keybindings

Conversation

@rolandwalker

Copy link
Copy Markdown
Contributor

Description

  • C-o d: date
  • C-o C-d: quoted date
  • C-o t: datetime
  • C-o C-t: quoted datetime

all in terms of NOW() on the server to which we are connected.

As noted in a comment, the included test could theoretically fail in some odd circumstances.

Closes #1172 .

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).

 * C-o d: date
 * C-o C-d: quoted date
 * C-o t: datetime
 * C-o C-t: quoted datetime

all in terms of NOW() on the server to which we are connected.
@rolandwalker
rolandwalker force-pushed the RW/date-time-shortcut-keybindings branch from 08b3357 to 5a1cd4b Compare July 4, 2025 20:39
@rolandwalker
rolandwalker merged commit b8bf5ed into main Jul 5, 2025
6 checks passed
@rolandwalker
rolandwalker deleted the RW/date-time-shortcut-keybindings branch January 21, 2026 15:19
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.

Inject current date when using www.mycli.net/commands ?

2 participants