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

Dynamic date #1289

Closed
Gualterius opened this issue Nov 22, 2019 · 5 comments · Fixed by #4193
Closed

Dynamic date #1289

Gualterius opened this issue Nov 22, 2019 · 5 comments · Fixed by #4193

Comments

@Gualterius
Copy link

On my smartphone I use a bookmark and a shortcut on the startscreen to the Breviary which I now successed to have it actualized everyday by replacing the date in the URL by {datetime;MM-dd-YYYY}.
In order to save time and data volume, I'd like to anticipate next day's matutinum in the URL. The only hint I found ({datetime;MM-dd-YYYY;1}) doesn't work. Any idea?

@DLakomy
Copy link
Contributor

DLakomy commented Nov 29, 2019

I'm unsure whether I can help, but could you please indicate the source of the hint you've found? I mean {datetime;MM-dd-YYYY;1}.

@Gualterius
Copy link
Author

Gualterius commented Nov 30, 2019 via email

@DLakomy
Copy link
Contributor

DLakomy commented Dec 2, 2019

If I understand correctly what I've read on the website you've mentioned, the {datetime;MM-dd-YYYY;1} substitution is a feature of the uptrends' monitor software. It's a coincidence it works here. I've just checked, that if you type {whatever}as a date (it must be in curly braces), the current date is selected.

So the solution would be the implementation of a mechanism in the DO's CGI scripts, which would render it possible to choose the date relative to the current time. Or to solve it client-side, via some JS (a user-specific solution). Or to provide the link allowing to anticipate Matins (probably the best solution, the most readable one, but the most invasive one as well if it's to be done globally, not in just one place).

@ajmalton
Copy link
Contributor

Very late to the party: but would a link to tomorrow's Matutinum be sufficient? Placed after the Completorium link? If it didn't have to be too smart about Nativity or Pasch, just link directly to Matins for tomorrow's date, I think it would be pretty straightforward.

@FAJ-Munich
Copy link
Contributor

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

Successfully merging a pull request may close this issue.

4 participants