-
Notifications
You must be signed in to change notification settings - Fork 60
unable to set a bought on: date #205
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
Comments
do the following:
screenshot the browser and attach it here |
Hi @themoonisacheese, |
log: i've re-tried saving my changes to the spool just before generating the log. |
since the above log is only 64k and seems to cut off like 3 hours ago, i suspected octoeverywhere to at least be interfering with the logs, but it seems it is also interfering with this field. when i look at octoprint from my local network, the field is already populated with "1.11.2021" which is not a date I ever submitted, and submitting a new one is still not working. here's the proper log: |
Well it is a javascript issue. The Datepicker use a wrong format. Maybe a local settings in the browser. What language do you use in the browser?
|
I use Firefox in France french, but octoprint is in English default.
|
I tried to reproduce the issue with different browsers and browser locals, but without success. Everytime the purchase date was in the correct format. Please attach a screenshot of the edit dialog after you selected the date and after that also network log-shot from the browser. |
I've had similar problems with the current firefox (93.0). When I select a date for the purchased, for example, say 10/25/2021, it actually fills in 1.36.2021, then throws the datetime format error in the log when trying to save. |
Hi @oerkel47, It looks like that the datetimepicker is also not supported any more and I couldn't find an related issue in tracker. |
Thanks for looking into it. Same problem in chrome and on my phones firefox. |
hmmm...okay, I think I will switch to the html-standard picker: https://www.w3schools.com/tags/att_input_type_datetime-local.asp |
chrome has had support for this for 9 years, but firefox only recently added datetime-local in version 93 this year. maybe the more recent versions that support the standard don't work well with the previous datetime picker? |
As long as the unsupported browsers can still use the manual input that wouldn't be too critical imo. |
Can confirm that this happens both in Chrome and Firefox for me. Not sure what is the cause as I should have English locale set. |
- E release-channles - E stale-bot via github-actions - E #79, #87, #99, #119, #157, #176, #202, weight calculation during editing PR #206, thx al lot @TiziG - E #106 switching from travis to github-actions - E #107, #215 database-settings in the log will only be shown, if sql-logging is enabled - E #170 inform user about switching a spool already selected - E #213 sort/filter options in spool selection dialog - E Extrusion-Debugging: Show current extrusion during printing - B #188 touchUI conflict - B #193, #196 sorting/showing of remaining weight - B #205 changed to "browser-native" date/time picker - B #210 loadCatalogColors when color name is blank - B #211 button text changed - B #212 import CSV only if printer in idle-mode - B #216 FilamentManager and SpoolManager used same viewmodel - B #217 when print is paused the extruded filament is assigned to the spool and the counter is reseted
Hi, Please test and give a feedback. Thx in advance, |
The datepicker seems to be working just fine now - thank you. |
In the latest version it works great. Thanks a lot! |
when creating a new spool or editing an existing one, if a bought on: date is specified, the changes won't stick or the new spool won't get registered at all. this seems to happen whether the date is in the past or the future.
The text was updated successfully, but these errors were encountered: