From 72e25cc0bf4e47c5bef33f65e1943c4cc7dc27a1 Mon Sep 17 00:00:00 2001 From: bhagwan Date: Tue, 24 Dec 2024 06:58:06 -0800 Subject: [PATCH] fix(buffers): date on 32-bit systems (closes #1636) --- lua/fzf-lua/providers/buffers.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/fzf-lua/providers/buffers.lua b/lua/fzf-lua/providers/buffers.lua index 71504790..db7ad680 100644 --- a/lua/fzf-lua/providers/buffers.lua +++ b/lua/fzf-lua/providers/buffers.lua @@ -76,7 +76,8 @@ end -- always on top (#646) -- Hopefully this gets solved before the year 2100 -- DON'T FORCE ME TO UPDATE THIS HACK NEOVIM LOL -local _FUTURE = os.time({ year = 2100, month = 1, day = 1, hour = 0, minute = 00 }) +-- NOTE: reduced to 2038 due to 32bit sys limit (#1636) +local _FUTURE = os.time({ year = 2038, month = 1, day = 1, hour = 0, minute = 00 }) local get_unixtime = function(buf) if tonumber(buf) then -- When called from `buffer_lines`