Projet

Général

Profil

Révision 1f683914

Ajouté par Assos Assos il y a environ 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/date/date_api/date_api.module
1926 1926
  // Pick a day in the middle of the month to avoid timezone shifts.
1927 1927
  $datetime = date_pad($year, 4) . '-' . date_pad($month) . '-15 00:00:00';
1928 1928
  $date = new DateObject($datetime);
1929
  return $date->format('t');
1929
  if ($date->errors) {
1930
    return FALSE;
1931
  }
1932
  else {
1933
    return $date->format('t');
1934
  }
1930 1935
}
1931 1936

  
1932 1937
/**

Formats disponibles : Unified diff