Skip to content
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

Time issue #6

Closed
twoeightdev opened this issue Mar 9, 2022 · 1 comment
Closed

Time issue #6

twoeightdev opened this issue Mar 9, 2022 · 1 comment

Comments

@twoeightdev
Copy link

twoeightdev commented Mar 9, 2022

Hi sir, when im using default_due_time = "noon" i cant set time time to 12:00 am it is read as 12:00 pm the workaround is to use 00:00 am so that it is read as 12:00 am

Result with default_due_time = "noon"

Departure (2022-03-10 12:00 am) due: 9h 24min 3s

Another result with default_due_time = "noon"

Departure (2022-03-10 00:00 am) due: OVERDUE

my config:

local status_ok, due_nvim = pcall(require, "due_nvim")
if not status_ok then
	return
end

due_nvim.setup{
    draw = 0,
    clean = 0,
    redraw = 0,
    prescript = "due: ",
    prescript_hi = "Comment",
    due_hi = "String",
    ft = "*.md",
    today = "TODAY",
    today_hi = "Character",
    overdue = "OVERDUE",
    overdue_hi = "Error",
    date_hi = "Conceal",
    pattern_start = "(",
    pattern_end = ")",
    use_clock_time = true,
    use_clock_today = false,
    use_seconds = true,
    default_due_time = "noon"
}
@nfrid
Copy link
Owner

nfrid commented Mar 9, 2022

it was as always just a silly typo, it's fixed now, thanks for the report 👽

@nfrid nfrid closed this as completed Mar 9, 2022
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

No branches or pull requests

2 participants