Skip to content

[Bug]: search --after lists wrong results #2607

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

Open
1 task done
tessus opened this issue Mar 5, 2025 · 0 comments
Open
1 task done

[Bug]: search --after lists wrong results #2607

tessus opened this issue Mar 5, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@tessus
Copy link
Contributor

tessus commented Mar 5, 2025

What did you expect to happen?

atuin search --after "2025-03-05"

The output should only show entries that are issued after midnight 2025-03-05 (the first entry in the list below should be 2025-03-05 00:03:06).

$ date +"%Y-%m-%d %H:%M:%S %z"
2025-03-05 00:58:58 -0500

What happened?

2025-03-04 20:06:44	[command redacted]
2025-03-04 20:06:51	[command redacted]
2025-03-04 20:07:04	[command redacted]
2025-03-04 20:07:10	[command redacted]
2025-03-04 20:07:19	[command redacted]
2025-03-04 22:01:14	[command redacted]
2025-03-04 22:02:41	[command redacted]
2025-03-04 22:23:46	[command redacted]
2025-03-04 23:01:46	[command redacted]
2025-03-04 23:40:12	[command redacted]
2025-03-04 23:41:00	[command redacted]
2025-03-04 23:41:19	[command redacted]
2025-03-04 23:41:33	[command redacted]
2025-03-04 23:42:30	[command redacted]
2025-03-04 23:42:44	[command redacted]
2025-03-04 23:43:02	[command redacted]
2025-03-04 23:43:48	[command redacted]
2025-03-04 23:43:52	[command redacted]
2025-03-04 23:43:56	[command redacted]
2025-03-04 23:44:48	[command redacted]
2025-03-04 23:46:09	[command redacted]
2025-03-04 23:46:18	[command redacted]
2025-03-04 23:46:33	[command redacted]
2025-03-04 23:47:40	[command redacted]
2025-03-04 23:51:12	[command redacted]
2025-03-04 23:53:34	[command redacted]
2025-03-04 23:53:46	[command redacted]
2025-03-04 23:56:13	[command redacted]
2025-03-04 23:56:31	[command redacted]
2025-03-05 00:03:06	[command redacted]
2025-03-05 00:04:06	[command redacted]
2025-03-05 00:04:12	[command redacted]
2025-03-05 00:04:16	[command redacted]
2025-03-05 00:08:24	[command redacted]
2025-03-05 00:08:33	[command redacted]
2025-03-05 00:08:42	[command redacted]
2025-03-05 00:11:19	[command redacted]
2025-03-05 00:11:52	[command redacted]
2025-03-05 00:12:04	[command redacted]
2025-03-05 00:28:41	[command redacted]
2025-03-05 00:28:43	[command redacted]
2025-03-05 00:29:36	[command redacted]
2025-03-05 00:29:53	[command redacted]
2025-03-05 00:30:14	[command redacted]
2025-03-05 00:31:26	[command redacted]
2025-03-05 00:31:34	[command redacted]
2025-03-05 00:32:06	[command redacted]
2025-03-05 00:32:30	[command redacted]
2025-03-05 00:33:22	[command redacted]
2025-03-05 00:33:24	[command redacted]
2025-03-05 00:35:25	[command redacted]
2025-03-05 00:36:42	[command redacted]
2025-03-05 00:39:47	[command redacted]
2025-03-05 00:40:22	[command redacted]
2025-03-05 00:41:04	[command redacted]
2025-03-05 00:41:07	[command redacted]
2025-03-05 00:44:32	[command redacted]
2025-03-05 00:44:41	[command redacted]
2025-03-05 00:47:55	[command redacted]
2025-03-05 00:48:05	[command redacted]
2025-03-05 00:48:31	[command redacted]
2025-03-05 00:48:59	[command redacted]
2025-03-05 00:49:15	[command redacted]
2025-03-05 00:49:24	[command redacted]
2025-03-05 00:49:38	[command redacted]
2025-03-05 00:49:44	[command redacted]
2025-03-05 00:50:35	[command redacted]
2025-03-05 00:50:41	[command redacted]
2025-03-05 00:50:47	[command redacted]
2025-03-05 00:51:09	[command redacted]
2025-03-05 00:51:20	[command redacted]
2025-03-05 00:51:31	[command redacted]
2025-03-05 00:52:03	[command redacted]
2025-03-05 00:52:24	[command redacted]
2025-03-05 00:53:16	[command redacted]

Atuin doctor output

{
  "atuin": {
    "version": "18.4.0",
    "sync": {
      "cloud": false,
      "records": true,
      "auto_sync": true,
      "last_sync": "2025-03-05 5:49:01.46987 +00:00:00"
    },
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "bash",
    "default": "bash",
    "plugins": [
      "atuin",
      "blesh"
    ],
    "preexec": "blesh-0.4.0-devel4+4338bbf"
  },
  "system": {
    "os": "Darwin",
    "arch": "x86_64",
    "version": "15.3.1",
    "disks": [
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      },
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@tessus tessus added the bug Something isn't working label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant