Closed (fixed)
Project:
Profile CSV
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2006 at 18:32 UTC
Updated:
16 Aug 2006 at 01:17 UTC
if you export a date then you get something like this:
a:3:{s:3:"day";s:2:"24";s:5:"month";s:1:"9";s:4:"year";s:4:"1995";}
we need a way that this gets to something like: 1995-09-24
Comments
Comment #1
Tobias Maier commentedhere is a patch for this
I know it is no patch-file, but this is because it is inside the same file as the forms api conversion patch
so replace _get_profile() with this
and _get_profile_fields() with this one
there is a second change in this function: it caches the result of this function, because it will never change during one session and it gets called with every user...
one suggestion:
it would be nice if all functions starting with "_" could get a better name.
like _profile_csv_get_profile() instead of _get_profile()
because then it would never come to a name clash...
Comment #2
Tobias Maier commentedComment #3
wafaa commentedfixed in 4.7 , thanks for Tobias Maier.
Comment #4
(not verified) commented