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

Make time optional for Events #14130

Open
haheute opened this issue May 6, 2024 · 4 comments
Open

Make time optional for Events #14130

haheute opened this issue May 6, 2024 · 4 comments

Comments

@haheute
Copy link

haheute commented May 6, 2024

Is the feature request related to a problem? Please describe.

I have just created a new event in Friendica, for which I know start day and end day, but no time for those.
So I have set it to 12:00 am and clarified in the info text, that I don't know the time.

Describe the feature you'd like

Maybe a checkbox "enter only date, dismiss time" or similar.. if possible.

Describe alternatives you've considered

none

@MrPetovan
Copy link
Collaborator

The usual way of handling this is a checkbox reading "All day". We definitely don't have the underlying support for those though.

@haheute
Copy link
Author

haheute commented May 7, 2024

The database fields seem to be datetime. .. Not sure how a fix could possibly work.. it seems to need some "time" part to be inserted. I just wrote the issue so that the use case / problem is known..

`start` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'event start time',

@MrPetovan
Copy link
Collaborator

Here's how it would work: When the "All Day" checkbox is ticked, only the day part of the start and end fields would be considered, and the all day events would be displayed without time.

@annando
Copy link
Collaborator

annando commented May 10, 2024

We definitely should add a "all day" possibility. We "only" have to see how to transport this via ActivityPub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants