• You show the wrong pregnancy week.

    For example:
    – with due date 30. October 2022, we are in week 26 + 3 day. That is correct!
    – Now you show week 26 –> that is wrong!!
    –> official standard is following: week 27 (+1)
    –> week26 + 3 day = 27th week

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter danney07

    (@danney07)

    Manual Bugfix:

    You have to change the calculation.

    $weeks_preg = floor(($full_days/7)+1);

    instead of

    $weeks_preg = floor($full_days/7);

Viewing 1 replies (of 1 total)

The topic ‘Wrong Pregnancy Week is shown (+1 missing)’ is closed to new replies.