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

Feature: Support "ago" in AdjustTime and the systemd keywords "now", "today", "yesterday", "tomorrow" #4

Open
gnufred opened this issue May 19, 2023 · 2 comments

Comments

@gnufred
Copy link

gnufred commented May 19, 2023

If you look a the https://www.man7.org/linux/man-pages/man7/systemd.time.7.html, those all should be in there.

@gnufred gnufred changed the title Feature: Support "ago" in AdjustTime and the systemd keywords "now", "today", "yesterday", "tomorrow", "today UTC" Feature: Support "ago" in AdjustTime and the systemd keywords "now", "today", "yesterday", "tomorrow" May 19, 2023
@gnufred
Copy link
Author

gnufred commented May 19, 2023

I just realized that we're missing the package is missing the Timezone parsing capabilities:

When parsing, systemd will accept a similar syntax, but expects
       no timezone specification, unless it is given as the literal
       string "UTC" (for the UTC timezone), or is specified to be the
       locally configured timezone, or the timezone name in the IANA
       timezone database format

I guess we can add it in another patch. I'll create another issue if I get it done.

@gnufred
Copy link
Author

gnufred commented May 19, 2023

I'm actually setting a proper Github fork to send you a proper MR. So I guess you can wait on that :P

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

1 participant