zoukankan      html  css  js  c++  java
  • redmine computed custom field formula tips

    项目中要用到Computed custom field插件,公式不知道怎么写,查了些资料,记录在这里。

    1、http://apidock.com/ruby/Time/strftime 查看ruby的字符串格式,用于改写

    2、https://github.com/annikoff/redmine_plugin_computed_custom_field/issues/34 看到formula里可以写复杂代码,比如增加变量、指定返回值等。

    3、http://ruby-doc.org/stdlib-2.3.1/libdoc/date/rdoc/Date.html#method-i-2D 查看Date类的方法,包括日期减少等。

    4、http://stackoverflow.com/questions/3599239/ruby-string-to-date-conversion 查看到to_date方法。

  • 相关阅读:
    类例程_java战斗程序
    "类"的讲稿
    象棋中“车”的攻击范围_C#
    面向对象_方法_例题
    入门例子
    MyBatis
    MyBatis
    MyBatis
    Spring
    Hibernate学习
  • 原文地址:https://www.cnblogs.com/lustforlife/p/5742892.html
Copyright © 2011-2022 走看看