spencerqiu
V2EX  ›  问与答

Hexo 文章显示的发布时间比 *.md 中的设置时间早一天

  •  
  •   spencerqiu · Jul 18, 2015 · 1572 views
    This topic created in 4155 days ago, the information mentioned may be changed or developed.
    早上看了 /t/206488 ,折腾了一上午,又重新开始玩 Hexo ,但是发现时间生成有问题,状况如下:
    https://github.com/hexojs/hexo/issues/728
    https://github.com/wzpan/hexo-theme-freemind/issues/7
    https://github.com/hexojs/hexo/issues/1239
    即文章参数里填写的是 date: 2015-07-18 ,但是在网站上生成的却是 07-17 ......

    几个 issue 里提到的所有方法全部没用...
    3 replies  •  2015-07-18 13:33:15 +08:00
    roychan
    roychan
    Jul 18, 2015
    1
    Timezone
    wy315700
    wy315700
    Jul 18, 2015
    2
    时区问题吧
    spencerqiu
    spencerqiu
    OP
    Jul 18, 2015 via iPad
    3
    @roychan
    @wy315700
    有改成 Timezone = "Asia/Shanghai" ,并没有用。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2380 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:35 · PVG 20:35 · LAX 04:35 · JFK 07:35
    ♥ Do have faith in what you're doing.