Commit b5beb20
committed
fix(timeago): fixed a timeago display bug
Fixed display bug caused by the actual locale name not exactly matching the name in the locale support list of "timeago.js". (Example: When the locale is "zh", timeago will always have the fallback version "en" as the locale.)
Signed-off-by: ketikai <ketikai@idealstate.team>1 parent 66b952c commit b5beb20
File tree
1 file changed
+21
-6
lines changed- mkdocs_git_revision_date_localized_plugin/js
1 file changed
+21
-6
lines changedLines changed: 21 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
3 | 18 | | |
4 | 19 | | |
5 | 20 | | |
6 | 21 | | |
7 | 22 | | |
8 | | - | |
9 | | - | |
| 23 | + | |
| 24 | + | |
10 | 25 | | |
11 | 26 | | |
12 | 27 | | |
13 | 28 | | |
14 | 29 | | |
15 | | - | |
16 | | - | |
| 30 | + | |
| 31 | + | |
17 | 32 | | |
18 | 33 | | |
0 commit comments