editing people record sets date of birth to 0000-00-00 | Directory | Support

Support Forum

We use and recommend UK2 for hosting - get a month free


Please consider registering

sp_LogInOut Log In sp_Registration Register sp_MemberList Members

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
editing people record sets date of birth to 0000-00-00
28th September 2013
12:06 pm
Forum Posts: 11
Member Since:
18th September 2013
sp_UserOfflineSmall Offline

running church_admin in a german environment (define('WPLANG', 'de_DE');)

When editing a people's record, the date_of_birth is displayed as it is stored in the database e.g. Mai 26, 1982 for 1982-05-26
When pressing "save" that date is failing the "church_admin_checkdate($_POST['date_of_birth'])" in directory.php line #247 and the date_of _birth is cleared to 0000-00-00.

This makes it impossible to handle birthdays with the directory


28th September 2013
1:23 pm
Forum Posts: 675
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

And also the dates of member levels - fixed for 0.572

The problem is there is no php way of accurately converting non English dates to database format reliable, so I had begun to just do date entry as YYYY-MM-DD e.g. 2013-09-28 but forgotten to echo that for previous entries - left it the old way.

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription

Forum Timezone: Europe/London

Most Users Ever Online: 35

Currently Online:
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

David Z.: 76

Rich Cox: 60

Allen: 51

rrfranks: 40

Gavin: 35

Janeen: 23

365sussex: 21

ehout: 20

Jay Jones: 19

matta: 18

Member Stats:

Guest Posters: 39

Members: 362

Moderators: 0

Admins: 1

Forum Stats:

Groups: 4

Forums: 13

Topics: 431

Posts: 1628

Administrators: andymoyle: 675