Input time for browser
Moderators: trava90, athenian200
Input time for browser
Hi. I am a developer and in my company use Pale Moon as one of the browsers. My question is what is the best input for the time I can use in Pale Moon? if possible send it formatted here with the tag and what code to use
-
- Pale Moon guru
- Posts: 35647
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Input time for browser
I'm sorry but I have no idea what you mean with your post. can you please elaborate?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Moon Magic practitioner
- Posts: 2194
- Joined: 2018-05-05, 13:29
Re: Input time for browser
Maybe it's something like new Date()?
-
- Pale Moon guru
- Posts: 35647
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Input time for browser
That's super basic HTML.
https://www.w3schools.com/tags/att_inpu ... number.asp
I suggest you don't use a bloated framework like that if you're trying to do something simple. Just stick to HTML+CSS+maybe some JS.
I don't know in what way ReactJS handles input fields.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Moon Magic practitioner
- Posts: 2194
- Joined: 2018-05-05, 13:29
Re: Input time for browser
As it's a project we've already used reactJS for, I don't have the option of not using React. The solution would have to be in the react itself.
-
- Pale Moon guru
- Posts: 35647
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Input time for browser
Then you will have to ask someone fluent in the ReactJS framework how to do this. Pale Moon does not specifically cater to frameworks; it caters to standards like HTML and CSS and ECMAScript. If React doesn't have the capabilities you need then you can't blame us for its shortcomings, either.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Input time for browser
Yes, I'm not blaming anyone. Just trying to find a solution... but thanksMoonchild wrote: ↑2021-08-26, 15:58Then you will have to ask someone fluent in the ReactJS framework how to do this. Pale Moon does not specifically cater to frameworks; it caters to standards like HTML and CSS and ECMAScript. If React doesn't have the capabilities you need then you can't blame us for its shortcomings, either.
-
- Apollo supporter
- Posts: 36
- Joined: 2020-06-16, 13:29
Re: Input time for browser
If your ReactJS code is going to present the users with HTML, presumably you can create HTML DOM elements in it; if so, you might wish to consult MDN's reference on <input> types, especially time (and maybe also date, datetime-local, or—reportedly obsolete—datetime).