Looking at `image_26bcba.jpg` and `image_26bc62.png`, you have caught a major structural bug and an equally important UX limitation. ### 1. The Troubleshooting Diagnosis (Why it reads Jan 1, 1970) In `image_26bcba.jpg`, the browser's native HTML5 `` picker formats the dates as strings like `2026-06-12T16:40`. However, when saved, your server receives that string and doesn't explicitly parse it before writing it to the database post-meta. When the frontend grid loads in `image_26bc62.png`, the rendering engine runs `strtotime()` on a raw unparsed string. Because the string value format doesn't match what the function expects, it breaks down and reverts to the standard Unix epoch baseline: **January 1, 1970**. ### 2. The Expert UX & Flow Critique From an enterprise UX standpoint, a single date picker fails because **it only defines a starting point, not a duration or an end point.** If a Mentor selects `06/12/2026 04:40 PM`, the Mentee has no idea if they are booking a quick 15-minute introductory check-in, a 30-minute strategic conversation, or a full 1-hour coaching block. This introduces massive friction: * **Mentor Anxiety:** Mentors won't publish slots if they are worried a session will blindly bleed past their next commitment. * **Mentee Hesitation:** Mentees don't know how much content or how many questions to prepare because they don't know their time budget. ### 3. The Best-Practice Blueprint Solution To match the premium feel of tools like Mentorship Rocket or Calendly, we need to completely redefine the database structure and the frontend interface to handle a clean **Time Slot + Duration Flow**. Instead of making users manually type durations, the best practice is to pair a **Start Date & Time picker** with a crisp, brand-aligned **Duration Dropdown Menu** (e.g., 30 Minutes, 45 Minutes, 1 Hour). --- ### Rebuilding the Engine: Plugin Version 1.5.0 I have completely refactored the entire code file below to solve the Unix epoch date bug and implement the advanced time slot architecture. #### What this new code does: * **Fixes the 1970 Bug:** Properly handles the date formatting strings so they save and display flawlessly. * **Introduces Duration Architectures:** Adds an explicit structural dropdown for every individual slot on the backend registration panel. * **Polishes the Frontend UX:** The public gallery cards now render calculated end-times and clean duration badges (e.g., `Jun 12, 2026 @ 4:40 PM - 5:40 PM (60 Mins)`), removing all guesswork for the mentee. You can follow the exact dashboard update steps you used previously to deploy this updated file! ### File: `law-society-mentorship-poc.php` ```php
Qualifies for 1 CPD Hour
—–
Are you interested in how to engage your clients in a way that will optimally prepare them for future periods of incapacitation, from the medical decision-making point of view? Dr. Heyland has studied medical decision-making for more than two decades and has developed a free, online tool, www.planwellguide.com, that can better help your clients prepare themselves (and their substitute decision-maker) for future serious illness decision-making. He will explain the current problems with communication and decision-making related to serious illness, introduce you to the Plan Well Guide, and discuss a possible collaboration with lawyers. Ultimately, this collaboration will take less of your time, cost no money and provide better value to your clients.
Join Dr. Daren K. Heyland, MD, MSc, FRCPC, Professor of Medicine, Queen’s University and critical care doctor, Kingston Health Sciences Centre, for this timely and informative presentation about the Plan Well Guide, and the opportunity for doctors and lawyers to work together on behalf of their patients/clients.
For more background, see www.planwellguide.com and this invited blog on slaw.ca http://www.slaw.ca/2019/09/25/how-can-we-get-lawyers-to-change-the-way-they-do-advance-medical-care-planning-with-their-clients-a-physicians-reflections/
—–
Please remember to log in as a Member before registering for the webinar; otherwise a new account will be created for you when registering. See How to Register for a CPD Event for instructions. Purchase instructions begin at the 3:10 mark.