spencerqiu
V2EX  ›  问与答

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

  •  
  •   spencerqiu · Jul 18, 2015 · 1473 views
    This topic created in 4045 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
        1
    roychan  
       Jul 18, 2015
    Timezone
    wy315700
        2
    wy315700  
       Jul 18, 2015
    时区问题吧
    spencerqiu
        3
    spencerqiu  
    OP
       Jul 18, 2015 via iPad
    @roychan
    @wy315700
    有改成 Timezone = "Asia/Shanghai" ,并没有用。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1046 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 23:05 · PVG 07:05 · LAX 16:05 · JFK 19:05
    ♥ Do have faith in what you're doing.