MCPcopy Create free account
hub / github.com/dearancelan/MiniRun / getAge

Function getAge

miniprogram/helper/time_helper.js:166–210  ·  view source on GitHub ↗

* 根据出生日期计算年龄周岁 传参格式为1996-06-08 * @param {*} birth

(birth, isMonth = false)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected