Template:Age in days/testcases2

The test results on the talk page compare the output from the current template with the fixed wikitext below.

The testcases show age in days, but the test uses age in days/sandbox. The expected result is the text after the template, following any amount of whitespace.

The tests are from Template:Age in days/testcases with results from Special:ExpandTemplates and the following changes:
 * Replace "&amp;#32;" with a space.
 * Replace "&amp;nbsp;d" with "d".
 * Replace " day" with "&amp;nbsp;day".
 * Remove unnecessary nowrap span around numbers.
 * Change output for to use Unicode minus rather than hyphen.
 * Omit tests which rely on the current date.

1                      1                    1                      1        1d 1d 1d 1 day 1 day 1 day 1 day                                     1 1 day                          1 1 day                       1 1 day                         1 1 day           1d 1 day        1d 1 day          1d 1 day           1 day 1 day        1 day 1 day          1 day 2                      2                    2                      2        2d 2d 2d 2 days 2 days 2 days 2 days                                     2 2 days                          2 2 days                       2 2 days                         2 2 days           2d 2 days        2d 2 days          2d 2 days           2 days 2 days        2 days 2 days          2 days 1                      1                    1                      1        1d 1d 1d 1 day 1 day 1 day 1 day                                     1 1 day                          1 1 day                       1 1 day                         1 1 day           1d 1 day        1d 1 day          1d 1 day           1 day 1 day        1 day 1 day          1 day 732                      732                    732                      732        732d 732d 732d 732 days 732 days 732 days 732 days                                     732 732 days                          732 732 days                       732 732 days                         732 732 days           732d 732 days        732d 732 days          732d 732 days           732 days 732 days        732 days 732 days          732 days 732                      732                    732                      732        732d 732d 732d 732 days 732 days 732 days 732 days                                     732 732 days                          732 732 days                       732 732 days                         732 732 days           732d 732 days        732d 732 days          732d 732 days           732 days 732 days        732 days 732 days          732 days 731                      731                    731                      731        731d 731d 731d 731 days 731 days 731 days 731 days                                     731 731 days                          731 731 days                       731 731 days                         731 731 days           731d 731 days        731d 731 days          731d 731 days           731 days 731 days        731 days 731 days          731 days 8552 days                                 1,460 8552 days                      1460 8552 days                   1,460 8552 days                     1460 1460d 1,460d 1460d 1460 days 1,460 days 1460 days 1460                          1460                        1,460                          1460            1460d 1,460d 1460d 1460 days 1,460 days 1460 days 8552 days                                 729 8552 days                      729 8552 days                   729 8552 days                     729 729d 729d 729d 729 days 729 days 729 days 729 days                                     729 729 days                          729 729 days                       729 729 days                         729 729 days           729d 729 days        729d 729 days          729d 729 days           729 days 729 days        729 days 729 days          729 days 8551 days                                 730 8551 days                      730 8551 days                   730 8551 days                     730 730d 730d 730d 730 days 730 days 730 days 730                          730                        730                          730            730d 730d 730d 730 days 730 days 730 days 8552 days                                 729 8552 days                      729 8552 days                   729 8552 days                     729 729d 729d 729d 729 days 729 days 729 days 729 days                                     729 729 days                          729 729 days                       729 729 days                         729 729 days           729d 729 days        729d 729 days          729d 729 days           729 days 729 days        729 days 729 days          729 days 8552 days                                 1,459 8552 days                      1459 8552 days                   1,459 8552 days                     1459 1459d 1,459d 1459d 1459 days 1,459 days 1459 days 1459 days                                     1459 1459 days                          1459 1459 days                       1,459 1459 days                         1459 1459 days           1459d 1459 days        1,459d 1459 days          1459d 1459 days           1459 days 1459 days        1,459 days 1459 days          1459 days 8551 days                                 1,460 8551 days                      1460 8551 days                   1,460 8551 days                     1460 1460d 1,460d 1460d 1460 days 1,460 days 1460 days 1460                          1460                        1,460                          1460            1460d 1,460d 1460d 1460 days 1,460 days 1460 days 8552 days                                 −732 8552 days                      -732 8552 days                   −732 8552 days                     −732 -732d −732d −732d -732 days −732 days −732 days −732                          -732                        −732                          −732            -732d −732d −732d -732 days −732 days −732 days 8562 days                                 48 8562 days                      48 8562 days                   48 8562 days                     48 48d 48d 48d 48 days 48 days 48 days 48 days                                     48 48 days                          48 48 days                       48 48 days                         48 48 days           48d 48 days        48d 48 days          48d 48 days           48 days 48 days        48 days 48 days          48 days 8562 days                                 778 8562 days                      778 8562 days                   778 8562 days                     778 778d 778d 778d 778 days 778 days 778 days 778 days                                     778 778 days                          778 778 days                       778 778 days                         778 778 days           778d 778 days        778d 778 days          778d 778 days           778 days 778 days        778 days 778 days          778 days 8562 days                                 48 8562 days                      48 8562 days                   48 8562 days                     48 48d 48d 48d 48 days 48 days 48 days 48 days                                     48 48 days                          48 48 days                       48 48 days                         48 48 days           48d 48 days        48d 48 days          48d 48 days           48 days 48 days        48 days 48 days          48 days 8562 days                                 779 8562 days                      779 8562 days                   779 8562 days                     779 779d 779d 779d 779 days 779 days 779 days 779 days                                     779 779 days                          779 779 days                       779 779 days                         779 779 days           779d 779 days        779d 779 days          779d 779 days           779 days 779 days        779 days 779 days          779 days 8562 days                                 48 8562 days                      48 8562 days                   48 8562 days                     48 48d 48d 48d 48 days 48 days 48 days 47 days                                   48 47 days                        48 47 days                     48 47 days                       48 47 days         48d 47 days      48d 47 days        48d 47 days         48 days 47 days      48 days 47 days        48 days 8562 days                                 779 8562 days                      779 8562 days                   779 8562 days                     779 779d 779d 779d 779 days 779 days 779 days 778 days                                   779 778 days                        779 778 days                     779 778 days                       779 778 days         779d 778 days      779d 778 days        779d 778 days         779 days 778 days      779 days 778 days        779 days 8562 days                                 48 8562 days                      48 8562 days                   48 8562 days                     48 48d 48d 48d 48 days 48 days 48 days 47 days                                   48 47 days                        48 47 days                     48 47 days                       48 47 days         48d 47 days      48d 47 days        48d 47 days         48 days 47 days      48 days 47 days        48 days 8562 days                                 778 8562 days                      778 8562 days                   778 8562 days                     778 778d 778d 778d 778 days 778 days 778 days 777 days                                   778 777 days                        778 777 days                     778 777 days                       778 777 days         778d 777 days      778d 777 days        778d 777 days         778 days 777 days      778 days 777 days        778 days 8562 days                                 290 8562 days                      290 8562 days                   290 8562 days                     290 290d 290d 290d 290 days 290 days 290 days 290 days                                     290 290 days                          290 290 days                       290 290 days                         290 290 days           290d 290 days        290d 290 days          290d 290 days           290 days 290 days        290 days 290 days          290 days 8562 days                                 1,021 8562 days                      1021 8562 days                   1,021 8562 days                     1021 1021d 1,021d 1021d 1021 days 1,021 days 1021 days 1021 days                                     1021 1021 days                          1021 1021 days                       1,021 1021 days                         1021 1021 days           1021d 1021 days        1,021d 1021 days          1021d 1021 days           1021 days 1021 days        1,021 days 1021 days          1021 days 8562 days                                 290 8562 days                      290 8562 days                   290 8562 days                     290 290d 290d 290d 290 days 290 days 290 days 290 days                                     290 290 days                          290 290 days                       290 290 days                         290 290 days           290d 290 days        290d 290 days          290d 290 days           290 days 290 days        290 days 290 days          290 days 8562 days                                 1,020 8562 days                      1020 8562 days                   1,020 8562 days                     1020 1020d 1,020d 1020d 1020 days 1,020 days 1020 days 1020 days                                     1020 1020 days                          1020 1020 days                       1,020 1020 days                         1020 1020 days           1020d 1020 days        1,020d 1020 days          1020d 1020 days           1020 days 1020 days        1,020 days 1020 days          1020 days 2,354                     2354                   2,354                     2354       2354d 2,354d 2354d 2354 days 2,354 days 2354 days 2353 days                                   2354 2353 days                        2354 2353 days                     2,354 2353 days                       2354 2353 days         2354d 2353 days      2,354d 2353 days        2354d 2353 days         2354 days 2353 days      2,354 days 2353 days        2354 days 2,919                     2919                   2,919                     2919       2919d 2,919d 2919d 2919 days 2,919 days 2919 days 2919 days                                  2919 2919 days                       2919 2919 days                    2,919 2919 days                      2919 2919 days        2919d 2919 days     2,919d 2919 days       2919d 2919 days        2919 days 2919 days     2,919 days 2919 days       2919 days 384                     384                   384                     384       384d 384d 384d 384 days 384 days 384 days 384 days                                  384 384 days                       384 384 days                    384 384 days                      384 384 days        384d 384 days     384d 384 days       384d 384 days        384 days 384 days     384 days 384 days       384 days 1,883                     1883                   1,883                     1883       1883d 1,883d 1883d 1883 days 1,883 days 1883 days 1883 days                                   1883 1883 days                        1883 1883 days                     1,883 1883 days                       1883 1883 days         1883d 1883 days      1,883d 1883 days        1883d 1883 days         1883 days 1883 days      1,883 days 1883 days        1883 days 2,144                     2144                   2,144                     2144       2144d 2,144d 2144d 2144 days 2,144 days 2144 days 2144 days                                    2144 2144 days                         2144 2144 days                      2,144 2144 days                        2144 2144 days          2144d 2144 days       2,144d 2144 days         2144d 2144 days          2144 days 2144 days       2,144 days 2144 days         2144 days 2,684                      2684                    2,684                      2684        2684d 2,684d 2684d 2684 days 2,684 days 2684 days 2684 days                                    2684 2684 days                         2684 2684 days                      2,684 2684 days                        2684 2684 days          2684d 2684 days       2,684d 2684 days         2684d 2684 days          2684 days 2684 days       2,684 days 2684 days         2684 days 3,565                       3565                     3,565                       3565         3565d 3,565d 3565d 3565 days 3,565 days 3565 days 3564 days                                     3565 3564 days                          3565 3564 days                       3,565 3564 days                         3565 3564 days           3565d 3564 days        3,565d 3564 days          3565d 3564 days           3565 days 3564 days        3,565 days 3564 days          3565 days 2,161                     2161                   2,161                     2161       2161d 2,161d 2161d 2161 days 2,161 days 2161 days 2161 days                                    2161 2161 days                         2161 2161 days                      2,161 2161 days                        2161 2161 days          2161d 2161 days       2,161d 2161 days         2161d 2161 days          2161 days 2161 days       2,161 days 2161 days         2161 days 3,163                      3163                    3,163                      3163        3163d 3,163d 3163d 3163 days 3,163 days 3163 days 3163 days                                     3163 3163 days                          3163 3163 days                       3,163 3163 days                         3163 3163 days           3163d 3163 days        3,163d 3163 days          3163d 3163 days           3163 days 3163 days        3,163 days 3163 days          3163 days 8392 days                                  2,529 8392 days                       2529 8392 days                    2,529 8392 days                      2529 2529d 2,529d 2529d 2529 days 2,529 days 2529 days 2529 days                                      2529 2529 days                           2529 2529 days                        2,529 2529 days                          2529 2529 days            2529d 2529 days         2,529d 2529 days           2529d 2529 days            2529 days 2529 days         2,529 days 2529 days           2529 days 8316 days                                 3,969 8316 days                      3969 8316 days                   3,969 8316 days                     3969 3969d 3,969d 3969d 3969 days 3,969 days 3969 days 3968 days                                    3969 3968 days                         3969 3968 days                      3,969 3968 days                        3969 3968 days          3969d 3968 days       3,969d 3968 days         3969d 3968 days          3969 days 3968 days       3,969 days 3968 days         3969 days 1,869                      1869                    1,869                      1869        1869d 1,869d 1869d 1869 days 1,869 days 1869 days 1869 days                                    1869 1869 days                         1869 1869 days                      1,869 1869 days                        1869 1869 days          1869d 1869 days       1,869d 1869 days         1869d 1869 days          1869 days 1869 days       1,869 days 1869 days         1869 days 8501 days                                 3,242 8501 days                      3242 8501 days                   3,242 8501 days                     3242 3242d 3,242d 3242d 3242 days 3,242 days 3242 days 3241 days                                    3242 3241 days                         3242 3241 days                      3,242 3241 days                        3242 3241 days          3242d 3241 days       3,242d 3241 days         3242d 3241 days          3242 days 3241 days       3,242 days 3241 days         3242 days 1,543                     1543                   1,543                     1543       1543d 1,543d 1543d 1543 days 1,543 days 1543 days 1543 days                                   1543 1543 days                        1543 1543 days                     1,543 1543 days                       1543 1543 days         1543d 1543 days      1,543d 1543 days        1543d 1543 days         1543 days 1543 days      1,543 days 1543 days        1543 days 2,074                     2074                   2,074                     2074       2074d 2,074d 2074d 2074 days 2,074 days 2074 days 2073 days                                   2074 2073 days                        2074 2073 days                     2,074 2073 days                       2074 2073 days         2074d 2073 days      2,074d 2073 days        2074d 2073 days         2074 days 2073 days      2,074 days 2073 days        2074 days 740                      740                    740                      740        740d 740d 740d 740 days 740 days 740 days 740 days                                   740 740 days                        740 740 days                     740 740 days                       740 740 days         740d 740 days      740d 740 days        740d 740 days         740 days 740 days      740 days 740 days        740 days 8521 days                                 423 8521 days                      423 8521 days                   423 8521 days                     423 423d 423d 423d 423 days 423 days 423 days 423 days                                    423 423 days                         423 423 days                      423 423 days                        423 423 days          423d 423 days       423d 423 days         423d 423 days          423 days 423 days       423 days 423 days         423 days 675                      675                    675                      675        675d 675d 675d 675 days 675 days 675 days 675 days                                    675 675 days                         675 675 days                      675 675 days                        675 675 days          675d 675 days       675d 675 days         675d 675 days          675 days 675 days       675 days 675 days         675 days 8467 days                                 1,298 8467 days                      1298 8467 days                   1,298 8467 days                     1298 1298d 1,298d 1298d 1298 days 1,298 days 1298 days 1297 days                                    1298 1297 days                         1298 1297 days                      1,298 1297 days                        1298 1297 days          1298d 1297 days       1,298d 1297 days         1298d 1297 days          1298 days 1297 days       1,298 days 1297 days         1298 days 1,098                     1098                   1,098                     1098       1098d 1,098d 1098d 1098 days 1,098 days 1098 days 1098 days                                    1098 1098 days                         1098 1098 days                      1,098 1098 days                        1098 1098 days          1098d 1098 days       1,098d 1098 days         1098d 1098 days          1098 days 1098 days       1,098 days 1098 days         1098 days 79                     79                   79                     79       79d 79d 79d 79 days 79 days 79 days 79 days                                    79 79 days                         79 79 days                      79 79 days                        79 79 days          79d 79 days       79d 79 days         79d 79 days          79 days 79 days       79 days 79 days         79 days