After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 332518 - Date validation always fails
Date validation always fails
Status: RESOLVED DUPLICATE of bug 332318
Product: evolution
Classification: Applications
Component: Calendar
2.6.x (obsolete)
Other All
: Normal major
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-02-25 10:42 UTC by Alexander Hunziker
Modified: 2013-09-13 00:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Alexander Hunziker 2006-02-25 10:42:56 UTC
Please describe the problem:
When I try to add a new Appointment, evolution never accepts the dates I enter.
It does that even if I use the calender widget to enter the date.

"Validation error: Start date is wrong" and "Invalid Date Value".

This makes it impossible to add any new appointments. Wonder whether this is a
locale problem? Using en_IE.utf8, but have been using this for a long time now.

Evolution is 2.5.91

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?
Yes

Other information:
Comment 1 Alexander Hunziker 2006-02-25 11:04:57 UTC
Indeed, this is influenced by locale.

export "LC_ALL"="somelocale" before executing evolution influences whether it fails or not.

Works
-----

en_US.utf8
en_US
de_DE
de_DE.utf8

Doesn't work
------------

de_CH.utf8
de_CH
en_IE.utf8
en_IE
Comment 2 Karsten Bräckelmann 2006-02-25 11:21:31 UTC
I believe, this is a known issue in Eo 2.5.91 and already fixed in CVS.

The problem is, that Evo in that versions displays the date value according to your LC_TIME env var (which is dd/mm/yy for en_IE), but accepts date values only according to the translation (afected by LANG env var).

Since there is no specific translation for en_IE, this defaults to mm/dd/yy...

Please try the latter mm/dd/yy format when entering a date. This should work.

The problem is, that due to this Evo does not accept the date value Evo generated itself in the very same input field...


This is fixed in CVS and respects LC_TIME for both now.

Alexander, if this does not fix your isue, please reopen this bug immediately and give more detailed steps to reproduce the issue. Thanks.

*** This bug has been marked as a duplicate of 332318 ***
Comment 3 Alexander Hunziker 2006-02-25 14:37:01 UTC
What you say mostly describes what I have chased the problem down to. It seems that evo validates the date entered against LANG instead of LC_TIME. I will test that more precisely, but don't have the time now.
Comment 4 Karsten Bräckelmann 2006-02-25 15:17:03 UTC
Thanks, Alexander. If you built Evo from source, you could apply the patch attached to bug 332318 for e-d-s and see, if this fixes the issue for you.
Comment 5 Alexander Hunziker 2006-03-01 00:33:56 UTC
Indeed I do not experience this problem anymore with 2.13.92.
Comment 6 Karsten Bräckelmann 2006-03-01 12:51:08 UTC
OK, great. Thanks for verifying, Alexander.