【问题标题】:Is there a way to console.log date(timestamp) with handlebars有没有办法用车把来控制台记录日期(时间戳)
【发布时间】:2016-10-06 00:00:48
【问题描述】:

有没有办法 console.log 输入类型 date 中的值?

<input type="date" value="{{moment date=d format='YYYY-MM-DD' subtract='days' amount='2'}}" style="position: relative; float: left; top: 130px;" />

我将车把与 hapi 结合使用,我试图让用户选择“从”和“到”日期,并使用该选择来指定根据日期(时间戳)检索哪些信息。

【问题讨论】:

标签: javascript ember.js handlebars.js hapijs


【解决方案1】:

您可以使用ember log helper

【讨论】:

    猜你喜欢
    • 2014-09-23
    • 1970-01-01
    • 2014-11-25
    • 1970-01-01
    • 2014-01-04
    • 1970-01-01
    • 2010-10-08
    • 1970-01-01
    • 2018-02-07
    相关资源
    最近更新 更多