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

Support Forum

If you want to show a shortcode in forum post - use [ instead of [ as you write it so you can see the shortcode 😉

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

Avatar

Please consider registering
guest

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
Avatar
Member
Members
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

Thanks
Martin

28th September 2013
1:23 pm
Avatar
Admin
Forum Posts: 759
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: 93

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

David Z.: 82

Rich Cox: 65

Pastor Andres: 63

Allen: 51

rrfranks: 42

Gavin: 35

Jon: 26

Janeen: 23

365sussex: 21

ehout: 20

Member Stats:

Guest Posters: 42

Members: 385

Moderators: 0

Admins: 1

Forum Stats:

Groups: 4

Forums: 13

Topics: 491

Posts: 1829

Administrators: andymoyle: 759