Skip to content

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

@tessus

Description

@tessus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions