You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ This plugin needs access to the last commit that touched a specific file to be a
39
39
<summary>Change your CI settings</summary>
40
40
41
41
- github actions: set `fetch_depth` to `0` ([docs](https://github.com/actions/checkout))
42
-
- gitlab runners: set `GIT_DEPTH` to `1000` ([docs](https://docs.gitlab.com/ee/user/project/pipelines/settings.html#git-shallow-clone))
42
+
- gitlab runners: set `GIT_DEPTH` to `0` ([docs](https://docs.gitlab.com/ee/user/project/pipelines/settings.html#git-shallow-clone))
43
43
- bitbucket pipelines: set `clone: depth: full` ([docs](https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/))
44
44
</details>
45
45
@@ -117,7 +117,7 @@ You can customize the plugin by setting options in `mkdocs.yml`. For example:
117
117
plugins:
118
118
- git-revision-date-localized:
119
119
type: timeago
120
-
time_zone: Europe/Amsterdam
120
+
timezone: Europe/Amsterdam
121
121
locale: en
122
122
fallback_to_build_date: false
123
123
exclude:
@@ -136,7 +136,7 @@ Default is `date`. To change the date format, set the `type` parameter to one of
136
136
20 hours ago # type: timeago
137
137
```
138
138
139
-
### `time_zone`
139
+
### `timezone`
140
140
141
141
Default is `UTC`. Specify a time zone database name ([reference](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)). This option is especially relevant when using `type: datetime` and `type: iso_datetime`. Note that when using [timeago](http://timeago.yarp.com/) (with `type: timeago`) any difference in time zones between server and client will be handled automatically.
0 commit comments