Révision db9ffd17
Ajouté par Assos Assos il y a presque 10 ans
drupal7/sites/all/modules/date/date_views/includes/date_views_argument_handler_simple.inc | ||
---|---|---|
64 | 64 |
if ($granularity == 'week') { |
65 | 65 |
$now = date_now(); |
66 | 66 |
$week = date_week(date_format($now, 'Y-m-d')); |
67 |
$value = date_format($now, 'Y') . '-W' . $week;
|
|
67 |
$value = date_format($now, 'o') . '-W' . date_pad($week);
|
|
68 | 68 |
} |
69 | 69 |
else { |
70 | 70 |
$value = date($this->arg_format, REQUEST_TIME); |
Formats disponibles : Unified diff
Weekly update of contrib modules