Skip to content

Commit

Permalink
fix(buffers): date on 32-bit systems (closes ibhagwan#1636)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed Dec 24, 2024
1 parent 7022b5b commit 72e25cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/fzf-lua/providers/buffers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 72e25cc

Please sign in to comment.