T
T
tester2020-04-21 19:00:02
JavaScript
tester, 2020-04-21 19:00:02

What does it mean?

Calendar ready, used jQuery UI DatePiceker.
But I didn’t understand what should be in the placeholder, the customer is not online, can anyone understand?

5e9f185a5960f135943485.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nadim Zakirov, 2020-04-21
@tokmaganbet

Well, obviously, if the visitor has chosen tomorrow or the day after tomorrow, then we show the appropriate text in front of the date. In all other cases, just write the day of the week before the date.

S
Sergey, 2020-04-21
@Firsov36

Yes, there are many places like this. Apple for example. Let's say you choose a date. The system checks that the date is today's date and after selection, it simply writes in the input field: Today, April 21, 2020. If you chose April 22, the system will determine that it is "tomorrow" and add the word "tomorrow" to the date: Tomorrow, April 22, 2020. And if it's already further than 23, 24 ... and the next days, then it simply substitutes the day of the week. It is believed that at the subconscious level, information is perceived easier this way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question