Giter VIP home page Giter VIP logo

Comments (15)

GeekaholicLin avatar GeekaholicLin commented on September 23, 2024

你的博客源markdown文件的date字段是什么?如果和显示一样的话,就不是主题的问题,而是使用hexo生成markdown文件的时候出现的问题,可能需要你去设置一些东西。

from hexo-theme-ylion.

vip16 avatar vip16 commented on September 23, 2024

@GeekaholicLin 我markdown文件里没设置date属性

from hexo-theme-ylion.

GeekaholicLin avatar GeekaholicLin commented on September 23, 2024

这就很难受了。你有没有线上文章的地址以及源文件?话说'hexo new post postname'的时候不是会自动添加日期的吗?难道现在改了?

from hexo-theme-ylion.

Lemonreds avatar Lemonreds commented on September 23, 2024

dateformat : "HH:mm:ss" 这样小时就会变成24小时的吧! @vip16 @GeekaholicLin

from hexo-theme-ylion.

vip16 avatar vip16 commented on September 23, 2024

@Lemonreds dateformat是这样的

from hexo-theme-ylion.

Lemonreds avatar Lemonreds commented on September 23, 2024

HH是大写的哦! 确认一样吗

from hexo-theme-ylion.

vip16 avatar vip16 commented on September 23, 2024

@Lemonreds 非常确认

from hexo-theme-ylion.

vip16 avatar vip16 commented on September 23, 2024

@GeekaholicLin 是自动添加日期的,添加的是24小时的,但是在页面上显示就变成了12小时的

from hexo-theme-ylion.

GeekaholicLin avatar GeekaholicLin commented on September 23, 2024

@vip16 不好意思,这阵子因为有一些事在忙,不能及时回复感到抱歉。可不可提供一下你的_comfig.yml以及显示出错的一篇文章的源文件呢?这样子我也不知道问题出现在哪里。主题的渲染只是从Hexo中读取相应的值,还有一种可能就是,用了am和pm的显示,但是我没有获取。所以,能提供一下相关文件是醉吼的了。

from hexo-theme-ylion.

vip16 avatar vip16 commented on September 23, 2024

20171109165141

from hexo-theme-ylion.

GeekaholicLin avatar GeekaholicLin commented on September 23, 2024

啊,说的不清楚,不是主题的config,是网站的config,把你个人的敏感信息去掉。

from hexo-theme-ylion.

GeekaholicLin avatar GeekaholicLin commented on September 23, 2024

我大概知道什么原因了。。。主题的锅。

from hexo-theme-ylion.

GeekaholicLin avatar GeekaholicLin commented on September 23, 2024

@vip16 感谢反馈~
该bug已修复,原因是主题使用helper函数的时候HH:mm:ss写成了hh:mm:ss
请拉取最新的主题,注意备份好配置文件,如果重新部署没有问题后,就可以close issue了,再次感谢~

from hexo-theme-ylion.

vip16 avatar vip16 commented on September 23, 2024

@GeekaholicLin 看样子应该是这里了,我呆会试试看。

from hexo-theme-ylion.

vip16 avatar vip16 commented on September 23, 2024

@GeekaholicLin OK,解决了,真棒

from hexo-theme-ylion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.