Giter Site home page Giter Site logo

Comments (2)

Smart-XiaoLeiGe avatar Smart-XiaoLeiGe commented on June 21, 2024

是按照一个月30 天,一年365天,还是要准确按照每年和每个月的确切天数?

from ios-rn-sdk.

Copypeng avatar Copypeng commented on June 21, 2024

这个问题其实跟 sdk 本身无关,以下我的回复只是建议,请自行甄别。

1,你使用的是个数据存储接口,使用逻辑跟本身业务相关,time 字段使用哪个需自行判断。从产品的角度,应该是数据产生的时间,因为用户不关心什么上传的,只关心数据什么时候生成的。

2,time_start,time_end 使用的都是 Unix 时间戳,精确到秒。根据自身业务填入起止时间和终止时间。自己了解下 Unix 时间戳的获取、计算方法,应该没有你描述的问题。

from ios-rn-sdk.

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.