Hexo: WARN Deprecated config detected: "use_date_for_updated" is deprecated, please use "updated_option" instead.

Created on 29 Jul 2020  ·  2Comments  ·  Source: hexojs/hexo

hexo s后,提示:

INFO  Validating config
WARN  Deprecated config detected: "use_date_for_updated" is deprecated, please use "updated_option" instead. See https://hexo.io/docs/configuration for more details.

这是什么问题呀!

non-english not following issue template

Most helpful comment

_config.yml

use_date_for_updated: true # deprecated
updated_option: date # use this

All 2 comments

https://hexo.io/docs/configuration#Date-Time-format

This configuration item has been updated, please refer to the document to modify

Deprecated: the current version has done forward compatible, but does not guarantee that future versions support the configuration.

Please modify in time

_config.yml

use_date_for_updated: true # deprecated
updated_option: date # use this
Was this page helpful?
0 / 5 - 0 ratings