Summary | nextFreebusy/prevFreebusy not working if french date |
Queue | Kronolith |
Queue Version | 4.2.3 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | pascal.rigaux (at) univ-paris1 (dot) fr |
Created | 12/15/2014 (3914 days ago) |
Due | |
Updated | 12/19/2014 (3910 days ago) |
Assigned | |
Resolved | 12/19/2014 (3910 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
commit 3efc5e4038a10501a627ff55f505f6ef58786b5a
Author: Jan Schneider <jan@horde.org>
Date: Fri Dec 19 10:58:33 2014 +0100
Simplify, coding style (
Bug #13757).kronolith/js/kronolith.js | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
http://github.com/horde/horde/commit/3efc5e4038a10501a627ff55f505f6ef58786b5a
commit bd8ef95ff2a190e2e6638a9863add7f37dbe8677
Author: Pascal Rigaux <pascal-rigaux@univ-paris1.fr>
Date: Mon Dec 15 09:49:31 2014 +0100
fix nextFreebusy/prevFreebusy
Signed-off-by: Jan Schneider <jan@horde.org>
Bug: 13757kronolith/js/kronolith.js | 41 ++++++++++++++++++++++-------------------
1 files changed, 22 insertions(+), 19 deletions(-)
http://github.com/horde/horde/commit/bd8ef95ff2a190e2e6638a9863add7f37dbe8677
State ⇒ Resolved
commit edfca503014abc815c843dfd56d957e24471dd99
Author: Jan Schneider <jan@horde.org>
Date: Fri Dec 19 10:58:33 2014 +0100
Simplify, coding style (
Bug #13757).kronolith/js/kronolith.js | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
http://github.com/horde/horde/commit/edfca503014abc815c843dfd56d957e24471dd99
commit 3bf1837e2cf4baf7d79b9163b651e9c2b3929a2f
Author: Pascal Rigaux <pascal-rigaux@univ-paris1.fr>
Date: Mon Dec 15 09:49:31 2014 +0100
fix nextFreebusy/prevFreebusy
Signed-off-by: Jan Schneider <jan@horde.org>
Bug: 13757kronolith/js/kronolith.js | 41 ++++++++++++++++++++++-------------------
1 files changed, 22 insertions(+), 19 deletions(-)
http://github.com/horde/horde/commit/3bf1837e2cf4baf7d79b9163b651e9c2b3929a2f
New Attachment: 0001-fix-nextFreebusy-prevFreebusy.patch
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ nextFreebusy/prevFreebusy not working if french date
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ Yes
State ⇒ Unconfirmed
Date.parse($('kronolithFBDate').innerHTML)
which can't work if Kronolith.conf.date_format is not default js date.
"insertFreeBusy" is doing the right job : removing the day of week +
Date.parseExact with Kronolith.conf.date_format
The attached patch is quite straight-forward :
it creates a function to do the job and uses it
(the date passed around is no more the unparsed string, but a Date js object)
(patch tested on 4.2.3 but applies cleanly on git HEAD)