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

Calendar Date-Time Picker #302

Open
jramirez-struc opened this issue Dec 20, 2023 · 1 comment
Open

Calendar Date-Time Picker #302

jramirez-struc opened this issue Dec 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@jramirez-struc
Copy link

Hello! I write this issue to comment about some findings while developing with jspreadsheet.

When using a "calendar" cell, one can give it the "time" boolean option to show the Hours and Minutes in the picker.

  1. For some situations, I believe it's important to also be able to modify the seconds.
    image
    For example, precise data entry. I believe this would be a good feature, and something we need to use.
  2. Also, we've tried to modify the value of the calendar by writing on the field either numbers or text, but it seems the only way to interface it is through the interface provided (as shown above). Is there a way to be able to modify the value of the cell outside this interface that we might be missing?

And meanwhile, there's another detail I would like to point out. This one is about masking.

When one uses the mask "h:mm:ss" and write "111111" on it, the result is "11:11:11";
When one uses the mask "dd.mm.yyyy" and write "111111" on it, the result is "11.11.1111";

Both results are what it's expected. However, when we try the following mask:

  • "dd.mm.yyyy h:mm:ss", we get the result "11.11.1111 15:35:11"

We would like to understand why this happens, that the time changes to this value. And how might we achieve the behavior I'm describing.
We've realized that when changing the cell mask to be a number, it returns "-287861.35" which it's the timestamp, but this doesn't really explain the change from "11:11:11" to "15:35:11".

Thanks in advance!

@hodeware
Copy link
Contributor

We will added the seconds for the roadmad. This should be the hour of your computer, which normally is the default when no other time is default to the component.

@hodeware hodeware added the enhancement New feature or request label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants