Commit 98b12d1
committed
Tests: Fix failing malformed date test
Dates without leading zeros (e.g., `2012-1-08`, `2012-01-8`) are now correctly recognized as valid dates. This change fixes the test cases to correctly reflect that these formats are valid and fixes an undefined variable reference.
Follow-up to [61172].
Props wildworks, westonruter.
Fixes #26798.
git-svn-id: https://develop.svn.wordpress.org/trunk@61173 602fd350-edb4-49c9-b593-d223f7449a821 parent 8b5dd7a commit 98b12d1
1 file changed
+22
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
826 | 826 | | |
827 | 827 | | |
828 | 828 | | |
829 | | - | |
| 829 | + | |
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
896 | | - | |
| 896 | + | |
897 | 897 | | |
898 | | - | |
899 | | - | |
| 898 | + | |
| 899 | + | |
900 | 900 | | |
901 | 901 | | |
902 | | - | |
903 | | - | |
| 902 | + | |
| 903 | + | |
904 | 904 | | |
905 | 905 | | |
906 | | - | |
907 | | - | |
| 906 | + | |
| 907 | + | |
908 | 908 | | |
| 909 | + | |
909 | 910 | | |
910 | | - | |
| 911 | + | |
911 | 912 | | |
912 | 913 | | |
913 | 914 | | |
914 | | - | |
| 915 | + | |
915 | 916 | | |
916 | 917 | | |
917 | 918 | | |
918 | | - | |
| 919 | + | |
919 | 920 | | |
920 | 921 | | |
921 | 922 | | |
922 | | - | |
| 923 | + | |
923 | 924 | | |
924 | 925 | | |
925 | 926 | | |
926 | | - | |
| 927 | + | |
927 | 928 | | |
928 | 929 | | |
929 | 930 | | |
| |||
1016 | 1017 | | |
1017 | 1018 | | |
1018 | 1019 | | |
| 1020 | + | |
1019 | 1021 | | |
1020 | | - | |
1021 | | - | |
| 1022 | + | |
| 1023 | + | |
1022 | 1024 | | |
1023 | 1025 | | |
1024 | | - | |
1025 | | - | |
| 1026 | + | |
| 1027 | + | |
1026 | 1028 | | |
1027 | 1029 | | |
1028 | | - | |
| 1030 | + | |
1029 | 1031 | | |
1030 | 1032 | | |
1031 | 1033 | | |
1032 | | - | |
| 1034 | + | |
1033 | 1035 | | |
1034 | 1036 | | |
1035 | 1037 | | |
1036 | | - | |
| 1038 | + | |
1037 | 1039 | | |
1038 | 1040 | | |
1039 | 1041 | | |
| |||
0 commit comments