1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-03-21 12:29:03 +01:00

(bug) event in negative timezone

This commit is contained in:
Sylvain 2023-01-09 12:26:43 +01:00
parent e24fca7f9d
commit eff829471a
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,7 @@
# Changelog Fab-manager
- Improved fix_invoice_item task
- Fix a bug: unable to set some dates for the events if user is in negative timezone
- Fix a bug: events are shown as over and unbookable, starting from midnight at the event end's day
- Fix a bug: updating a space/machine/event/training removes the image
- Fix a bug: cryptic error message when failed to create a manager

View File

@ -18,7 +18,7 @@ export default class ApiLib {
...object,
...attachmentAttributes.reduce((a, name) => { return { ...a, [name]: null }; }, {})
}
});
}, { dateWithTimezone: true });
attachmentAttributes.forEach((attr) => {
data.delete(`${name}[${attr}]`);
if (Array.isArray(object[attr])) {

View File

@ -151,7 +151,7 @@
"ngUpload": "0.5",
"ngtemplate-loader": "^2.1.0",
"nvd3": "1.8",
"object-to-formdata": "^4.4.2",
"object-to-formdata": "https://github.com/sylvainbx/object-to-formdata.git#master",
"phosphor-react": "^1.4.0",
"process": "^0.11.10",
"prop-types": "^15.7.2",

View File

@ -8311,10 +8311,9 @@ object-keys@^1.0.12, object-keys@^1.1.1:
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e"
integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==
object-to-formdata@^4.4.2:
"object-to-formdata@https://github.com/sylvainbx/object-to-formdata.git#master":
version "4.4.2"
resolved "https://registry.yarnpkg.com/object-to-formdata/-/object-to-formdata-4.4.2.tgz#f89013f90493c58cb5f6ab9f50b7aeec30745ea6"
integrity sha512-fu6UDjsqIfFUu/B3GXJ2IFnNAL/YbsC1PPzqDIFXcfkhdYjTD3K4zqhyD/lZ6+KdP9O/64YIPckIOiS5ouXwLA==
resolved "https://github.com/sylvainbx/object-to-formdata.git#4c00be9626e64653e0e2fdfbefca99b3fb3de511"
object.assign@^4.1.0, object.assign@^4.1.2:
version "4.1.2"