usememos / memos

An open source, lightweight note-taking service. Easily capture and share your great thoughts.
https://usememos.com
MIT License
30.01k stars 2.25k forks source link

Invalid date when changing datetime in safari #3790

Closed gitkeniwo closed 1 week ago

gitkeniwo commented 1 month ago

Describe the bug

Safari's datetime-local picker does not include time selection, leading to invalid datetime return value. Is it possible to separate date and time selection?

Steps to reproduce

image

The version of Memos you're using.

0.22.4

safari version 17.5

Screenshots or additional context

No response

Issues-translate-bot commented 1 month ago

Issue is not in English. It has been translated automatically.


Title: Invalid date when changing datetime in safari

RoccoSmit commented 1 month ago

Memos uses a standard HTML input which is set set to show date time. How the date time is displayed depends on how your browser implements it, e.g. Edge and Chrome shows date and time, Firefox and Safari shows just date (See documentation https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local)

A quick solution to change dates and times would be to use a Chromium browser as this gives you a date and time selector

RoccoSmit commented 1 week ago

Linking active date change issue https://github.com/usememos/memos/issues/3812