LibreBooking / app

Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.
GNU General Public License v3.0
401 stars 240 forks source link

`reservation.ics` attachment isn't valid #127

Open tim427 opened 2 years ago

tim427 commented 2 years ago

Two fields are empty: CREATED and DTSTAMP.

According to tpl/Export/ical.tpl-file, both are defined as:

CREATED:{formatdate date=$reservation->DateCreated key=ical}
DTSTAMP:{formatdate date=$reservation->DateCreated key=ical}

Which is empty/null.

provelo-ict commented 5 months ago

Here is how I fixed this issue: https://github.com/provelo-ict/librebooking_app/commit/21bdb3a8726417fb750aee756b53451492e3649a I don't think it's an ideal fix, so I don't offer it as a PR, but I hope it can help someone who stumble into this issue (or issue #87 with seems to be identical).