| 2336 | | date_based_group_entries( $ctx, 'Yearly', |
| 2337 | | %param ? sprintf( "%04d%02d%02d000000", $param{year}, 1, 1 ) : undef ); |
| | 2335 | my $ts = |
| | 2336 | $param{year} |
| | 2337 | ? sprintf( "%04d%02d%02d000000", $param{year}, 1, 1 ) |
| | 2338 | : undef; |
| | 2339 | my $limit = $param{limit}; |
| | 2340 | date_based_group_entries( $ctx, 'Yearly', $ts, $limit ); |
| 2433 | | date_based_group_entries( $ctx, 'Monthly', |
| 2434 | | %param |
| 2435 | | ? sprintf( "%04d%02d%02d000000", $param{year}, $param{month}, 1 ) |
| 2436 | | : undef ); |
| | 2436 | my $ts = |
| | 2437 | $param{year} |
| | 2438 | ? sprintf( "%04d%02d%02d000000", $param{year}, $param{month}, 1 ) |
| | 2439 | : undef; |
| | 2440 | my $limit = $param{limit}; |
| | 2441 | date_based_group_entries( $ctx, 'Monthly', $ts, $limit ); |
| 2741 | | date_based_group_entries( |
| 2742 | | $ctx, 'Daily', |
| 2743 | | %param |
| 2744 | | ? sprintf( "%04d%02d%02d000000", |
| 2745 | | $param{year}, $param{month}, $param{day} ) |
| 2746 | | : undef |
| 2747 | | ); |
| | 2751 | my $ts = |
| | 2752 | $param{year} |
| | 2753 | ? sprintf( "%04d%02d%02d000000", $param{year}, $param{month}, |
| | 2754 | $param{day} ) |
| | 2755 | : undef; |
| | 2756 | my $limit = $param{limit}; |
| | 2757 | date_based_group_entries( $ctx, 'Daily', $ts, $limit ); |
| 2841 | | date_based_group_entries( |
| 2842 | | $ctx, 'Weekly', |
| 2843 | | %param |
| 2844 | | ? sprintf( "%04d%02d%02d000000", |
| 2845 | | week2ymd( $param{year}, $param{week} ) ) |
| 2846 | | : undef |
| 2847 | | ); |
| | 2851 | my $ts = |
| | 2852 | $param{year} |
| | 2853 | ? sprintf( "%04d%02d%02d000000", week2ymd( $param{year}, $param{week} ) ) |
| | 2854 | : undef; |
| | 2855 | my $limit = $param{limit}; |
| | 2856 | date_based_group_entries( $ctx, 'Weekly', $ts, $limit ); |
| 3203 | | %param |
| 3204 | | ? sprintf( "%04d%02d%02d000000", $param{year}, 1, 1 ) |
| 3205 | | : $ctx->stash('current_timestamp'); |
| 3206 | | my $author = %param ? $param{author} : $ctx->stash('author'); |
| 3207 | | date_based_author_entries( $ctx, 'Author-Yearly', $author, $ts ); |
| | 3219 | $param{year} |
| | 3220 | ? sprintf( "%04d%02d%02d000000", $param{year}, 1, 1 ) |
| | 3221 | : $ctx->stash('current_timestamp'); |
| | 3222 | my $author = $param{author} || $ctx->stash('author'); |
| | 3223 | my $limit = $param{limit}; |
| | 3224 | date_based_author_entries( $ctx, 'Author-Yearly', $author, $ts, $limit ); |
| 3386 | | %param |
| 3387 | | ? sprintf( "%04d%02d%02d000000", $param{year}, $param{month}, 1 ) |
| 3388 | | : $ctx->stash('current_timestamp'); |
| 3389 | | my $author = %param ? $param{author} : $ctx->stash('author'); |
| 3390 | | date_based_author_entries( $ctx, 'Author-Monthly', $author, $ts ); |
| | 3403 | $param{year} |
| | 3404 | ? sprintf( "%04d%02d%02d000000", $param{year}, $param{month}, 1 ) |
| | 3405 | : $ctx->stash('current_timestamp'); |
| | 3406 | my $author = $param{author} || $ctx->stash('author'); |
| | 3407 | my $limit = $param{limit}; |
| | 3408 | date_based_author_entries( $ctx, 'Author-Monthly', $author, $ts, $limit ); |
| 3567 | | %param |
| 3568 | | ? sprintf( "%04d%02d%02d000000", week2ymd( $param{year}, $param{week} ) ) |
| 3569 | | : $ctx->stash('current_timestamp'); |
| 3570 | | my $author = %param ? $param{author} : $ctx->stash('author'); |
| 3571 | | date_based_author_entries( $ctx, 'Author-Weekly', $author, $ts ); |
| | 3585 | $param{year} |
| | 3586 | ? sprintf( "%04d%02d%02d000000", week2ymd( $param{year}, $param{week} ) ) |
| | 3587 | : $ctx->stash('current_timestamp'); |
| | 3588 | my $author = $param{author} || $ctx->stash('author'); |
| | 3589 | my $limit = $param{limit}; |
| | 3590 | date_based_author_entries( $ctx, 'Author-Weekly', $author, $ts, $limit ); |
| 3756 | | %param |
| 3757 | | ? sprintf( "%04d%02d%02d000000", $param{year}, $param{month}, |
| 3758 | | $param{day} ) |
| 3759 | | : $ctx->stash('current_timestamp'); |
| 3760 | | my $author = %param ? $param{author} : $ctx->stash('author'); |
| 3761 | | date_based_author_entries( $ctx, 'Author-Daily', $author, $ts ); |
| | 3775 | $param{year} |
| | 3776 | ? sprintf( "%04d%02d%02d000000", $param{year}, $param{month}, |
| | 3777 | $param{day} ) |
| | 3778 | : $ctx->stash('current_timestamp'); |
| | 3779 | my $author = $param{author} || $ctx->stash('author'); |
| | 3780 | my $limit = $param{limit}; |
| | 3781 | date_based_author_entries( $ctx, 'Author-Daily', $author, $ts, $limit ); |
| 3960 | | %param |
| 3961 | | ? sprintf( "%04d%02d%02d000000", $param{year}, 1, 1 ) |
| 3962 | | : $ctx->stash('current_timestamp'); |
| 3963 | | my $cat = %param ? $param{category} : $ctx->stash('archive_category'); |
| 3964 | | |
| 3965 | | date_based_category_entries( $ctx, 'Category-Yearly', $cat, $ts ); |
| | 3979 | $param{year} |
| | 3980 | ? sprintf( "%04d%02d%02d000000", $param{year}, 1, 1 ) |
| | 3981 | : $ctx->stash('current_timestamp'); |
| | 3982 | my $cat = $param{category} || $ctx->stash('archive_category'); |
| | 3983 | my $limit = $param{limit}; |
| | 3984 | date_based_category_entries( $ctx, 'Category-Yearly', $cat, $ts, $limit ); |
| 4128 | | %param |
| 4129 | | ? sprintf( "%04d%02d%02d000000", $param{year}, $param{month}, 1 ) |
| 4130 | | : $ctx->stash('current_timestamp'); |
| 4131 | | my $cat = %param ? $param{category} : $ctx->stash('archive_category'); |
| 4132 | | |
| 4133 | | date_based_category_entries( $ctx, 'Category-Monthly', $cat, $ts ); |
| | 4146 | $param{year} |
| | 4147 | ? sprintf( "%04d%02d%02d000000", $param{year}, $param{month}, 1 ) |
| | 4148 | : $ctx->stash('current_timestamp'); |
| | 4149 | my $cat = $param{category} || $ctx->stash('archive_category'); |
| | 4150 | my $limit = $param{limit}; |
| | 4151 | date_based_category_entries( $ctx, 'Category-Monthly', $cat, $ts, $limit ); |
| 4301 | | %param |
| 4302 | | ? sprintf( "%04d%02d%02d000000", $param{year}, $param{month}, |
| 4303 | | $param{day} ) |
| 4304 | | : $ctx->stash('current_timestamp'); |
| 4305 | | my $cat = %param ? $param{category} : $ctx->stash('archive_category'); |
| 4306 | | |
| 4307 | | date_based_category_entries( $ctx, 'Category-Daily', $cat, $ts ); |
| | 4318 | $param{year} |
| | 4319 | ? sprintf( "%04d%02d%02d000000", $param{year}, $param{month}, |
| | 4320 | $param{day} ) |
| | 4321 | : $ctx->stash('current_timestamp'); |
| | 4322 | my $cat = $param{category} || $ctx->stash('archive_category'); |
| | 4323 | my $limit = $param{limit}; |
| | 4324 | date_based_category_entries( $ctx, 'Category-Daily', $cat, $ts, $limit ); |
| 4466 | | %param |
| 4467 | | ? sprintf( "%04d%02d%02d000000", week2ymd( $param{year}, $param{week} ) ) |
| 4468 | | : $ctx->stash('current_timestamp'); |
| 4469 | | my $cat = %param ? $param{category} : $ctx->stash('archive_category'); |
| 4470 | | |
| 4471 | | date_based_category_entries( $ctx, 'Category-Weekly', $cat, $ts ); |
| | 4483 | $param{year} |
| | 4484 | ? sprintf( "%04d%02d%02d000000", week2ymd( $param{year}, $param{week} ) ) |
| | 4485 | : $ctx->stash('current_timestamp'); |
| | 4486 | my $cat = $param{category} || $ctx->stash('archive_category'); |
| | 4487 | my $limit = $param{limit}; |
| | 4488 | date_based_category_entries( $ctx, 'Category-Weekly', $cat, $ts, $limit ); |