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 331231 - Invalid data format error when save a task
Invalid data format error when save a task
Status: RESOLVED DUPLICATE of bug 329356
Product: evolution
Classification: Applications
Component: Calendar
2.6.x
Other All
: Normal major
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-02-15 01:56 UTC by younker
Modified: 2013-09-13 00:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
The screenshot for this error message. (38.42 KB, image/jpeg)
2006-03-01 13:37 UTC, younker
  Details
Try to fix e_time_parse_time for zh_CN.UTF-8 locale (1.47 KB, patch)
2006-03-04 02:44 UTC, younker
none Details | Review

Description younker 2006-02-15 01:56:21 UTC
Please describe the problem:
after create a task in calendar, choose close or save this task, an error
message pops up says "Invalid Data Format", whatever date I choose, the error
message always pops.

Steps to reproduce:
1. create a new task in calendar
2. Fill the required fields
3. Save the task


Actual results:
An dialog says "Invalid Data Format" pops up.

Expected results:
save the task successfully

Does this happen every time?
yes.

Other information:
My locale is zh_CN.UTF-8
Comment 1 André Klapper 2006-02-15 14:22:00 UTC
hi younker,
i'm pretty sure that this is a duplicate of bug 329356.
if you enter the date format as "dd/mm/yy", does it work?
Comment 2 younker 2006-02-15 14:54:33 UTC
yes, i think it is duplicate, but even I enter dd/mm/yy, it still reports the error.
Comment 3 younker 2006-02-15 14:56:04 UTC

*** This bug has been marked as a duplicate of 329356 ***
Comment 4 younker 2006-03-01 13:33:12 UTC
This bug is not exactly duplicate of 329356,  I tried to patch 
evolution data server with the patch file from that bug, the error dialog for 
"Invalid Date Value" has gone, but the new error is "Invalid Time Value", which makes me can't create any task through the calender. 
younker@HuaKe ~ $ date
三  3月  1 21:28:10 Asia/Shanghai 2006
younker@HuaKe ~ $ locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=zh_CN.UTF-8
Comment 5 younker 2006-03-01 13:37:48 UTC
Created attachment 60396 [details]
The screenshot for this error message.

this is the screenshot for the error, when the focus leaves of the time field, this
message pops up.
Comment 6 younker 2006-03-04 02:44:34 UTC
Created attachment 60621 [details] [review]
Try to fix e_time_parse_time for zh_CN.UTF-8 locale

for the time format used in zh_CN.UTF-8 is %p%I:%M:%S, it is not %I:%M:%S %p, 
so I changed the order of %p to front of the format string, this works for me, 
but I don't think this is a valid fix, so maybe the author need to consider the
different locale for the time string format.