6.0.0-alpha12
6/12/25

[#11138] Cannot add new event in Calendar under Windows
Summary Cannot add new event in Calendar under Windows
Queue Kronolith
Queue Version 3.0.15
Type Bug
State No Feedback
Priority 2. Medium
Owners
Requester almikhailov (at) parallels (dot) com
Created 04/10/2012 (4811 days ago)
Due
Updated 06/01/2012 (4759 days ago)
Assigned 04/12/2012 (4809 days ago)
Resolved 06/01/2012 (4759 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/01/2012 04:46:43 PM Jan Schneider State ⇒ No Feedback
 
04/13/2012 12:29:03 PM Jan Schneider Comment #4 Reply to this comment
Is there some equivalent on Windows?
Looks like there is now equivalent on Windows.
But it does not have matter. You can just use the same workaround 
which was in H3 based Calendar. Just provide separate fields for 
year, month, day in Add Event form interface.
No, this is not an option. We won't get back to separate fields for 
the dates or times.
04/13/2012 11:28:04 AM almikhailov (at) parallels (dot) com Comment #3
New Attachment: h3-calendar.JPG Download
Reply to this comment
Is there some equivalent on Windows?
Looks like there is now equivalent on Windows.
But it does not have matter. You can just use the same workaround 
which was in H3 based Calendar. Just provide separate fields for year, 
month, day in Add Event form interface.
04/12/2012 09:52:25 AM Jan Schneider Comment #2
Priority ⇒ 2. Medium
State ⇒ Feedback
Reply to this comment

[Show Quoted Text - 25 lines]
Is there some equivalent on Windows?
04/10/2012 07:52:47 AM almikhailov (at) parallels (dot) com Comment #1
Priority ⇒ 3. High
State ⇒ Unconfirmed
New Attachment: event.JPG Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Due ⇒ 04/10/2012
Summary ⇒ Cannot add new event in Calendar under Windows
Type ⇒ Bug
Reply to this comment
PROBLEM DESCRIPTION

A new event cannot be added in Calendar under Windows platform because 
of date parsing error. See screenshot.

Also calendar buttons do not work on this form too.

ROOT CAUSE

PEAR\Horde\nls.php:
=======================
     static public function getLangInfo($item)
     {
         if (!function_exists('nl_langinfo')) {
             return false;
         }
...
=======================

OS-depended function nl_langinfo() is used here. This function is not 
implemented under Windows at all:
http://php.net/manual/en/function.nl-langinfo.php
=======================
Note: This function is not implemented on Windows platforms.
=======================

ADDITIONAL INFORMATION

There were not such problems in H3 based Calendar.

Saved Queries