Summary | Date import broken in turba |
Queue | Horde Framework Packages |
Queue Version | FRAMEWORK_3 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | mrubinsk (at) horde (dot) org |
Requester | dewi (at) brentwood (dot) bc (dot) ca |
Created | 10/15/2009 (5747 days ago) |
Due | |
Updated | 05/09/2010 (5541 days ago) |
Assigned | 10/26/2009 (5736 days ago) |
Resolved | 05/09/2010 (5541 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Version ⇒ FRAMEWORK_3
Queue ⇒ Horde Framework Packages
State ⇒ Resolved
returned from Horde_Data::mapDate(). The import will still require the
source file to contain 4 digit years.
make sure month and day are 0 padded. Fixes
Bug: 8645http://cvs.horde.org/diff.php/framework/Data/Data.php?rt=horde&r1=1.80.10.19&r2=1.80.10.20&ty=u
both in Git and in FW_3, but in Git, Horde_Date is able to handle that
as input and correctly parse the date. In FW_3, Horde_Date chokes on
that value as input. If I change the year to 1994 in the original
file, it gets stored as 1994-2-18, but FW_3 still has trouble with it
due to the single digit month. I can't find where it is loosing (or
not receiving) the proper MM format. I've traced the import process
all the way from turba to Horde_Data and back again, and all through
the code the year maintains a YY format, while the month retains a
single digit format.
Assigned to Michael Rubinsky
digit years), and also use mySQL
# Server version: 5.0.51a-3ubuntu5.4-log
# Protocol version: 10
# MySQL charset: UTF-8 Unicode (utf8)
Web Server:
Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.6 mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.11
MySQL client version: 5.0.51a
PHP extension: mysqli
certainly displays the Birthday as the wrong date.
I did a mysql dump of the database in use and the field object_bday
contains the value 94-2-18.
So looks like the actual import gets what is there, but is it storing
it in the correct format to allow the display to come out right?
State ⇒ Feedback
Taken from
State ⇒ Assigned
thing. I changed the year to 2 digits since the turba import date
format window only indicates 2 digit years. Either way, the date
import doesn't work. I tried 4 digit years, dates created from excel,
dates exported from turba and dates exported from thunderbird custom
field.
State ⇒ Feedback
digit year?
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
New Attachment: lisah2.csv
Patch ⇒ No
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ Date import broken in turba
Type ⇒ Bug
the date import does not work for importing birthdays. I've tried with
both an export from thunderbird, an excel file and with an export from
horde's turba itself.
I can match up all pairs of data in the import screen, when I go to
process the import it detects that I have a birthday to import and
asks for the date format. I confirm the correct format and separator,
but after 'successful' import, the entry for the person has this:-
First Name Pebbles
Last Name Flintstone
Middle Names
Name Prefixes
Name Suffixes
Name Pebbles Flintstone
Alias
Birthday Wed, Dec 31, 69
Email janedoe@world.ca
Home Phone 743 5521
Work Phone 748 7474
Mobile Phone 732 5521
Fax
Pager
The birthday is Dec31,69 ... suspiciously close to the epoch!!