module FFaker::IdentificationPL

def pesel_birthdate(date)

def pesel_birthdate(date)
  century_differentiator = pesel_century_differentiator(date.year)
  year = date.strftime('%y')
  month = century_differentiator.zero? ? date.strftime('%m') : date.month + century_differentiator
  day = date.strftime('%d')
  "#{year}#{month}#{day}"
end