Shelf-nu / shelf.nu

shelf is open source Asset Management Infrastructure for absolutely everyone.
https://shelf.nu
GNU Affero General Public License v3.0
1.67k stars 145 forks source link

[Bug]: (To check if bug) Time Zone issues with Date picker field #1073

Closed carlosvirreira closed 4 weeks ago

carlosvirreira commented 4 weeks ago

Contact Details

No response

What happened?

Used it a few times, and noticed the stored date is one day displayed prior to the entered date. Time zone issue? (But if I use EDIT, 01.01.2000 appears as entered.)

image 2

What is the expected behaviour?

Display the date I intent OR show me close to the field some info to hint me on how to format my data

Version

Hosted (app.shelf.nu)

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

DonKoko commented 4 weeks ago

@carlosvirreira I have adjusted this. Indeed the date was not being formatted based on the user's timezone as well as it was showing time which is irrelevant as the field we have when editing an asset is just Date not Datetime.