Skip to content

Commit

Permalink
feat: 时长组件补充时区信息
Browse files Browse the repository at this point in the history
  • Loading branch information
yoogoc committed Mar 7, 2024
1 parent 6c00d0b commit aeccff7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/oa.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,19 @@ Name|JSON|Type|Doc

Name|JSON|Type|Doc
:---|:---|:---|:--
`Type`|`type`|`string`| 时间展示类型:halfday-日期;hour-日期+时间
`NewBegin`|`new_begin`|`int`| 开始时间,unix时间戳
`NewEnd`|`new_end`|`int`| 结束时间,unix时间戳
`NewDuration`|`new_duration`|`int`| 时长范围,单位秒
`PerdayDuration`|`perday_duration`|`int`| 每天的工作时长
`TimezoneInfo`|`timezone_info`|`*OAContentDateRangeTimezoneInfo`|时区信息,只有在非UTC+8的情况下会返回

### `OAContentDateRangeTimezoneInfo` 时区信息

Name|JSON|Type|Doc
:---|:---|:---|:--
`ZoneOffset`|`zone_offset`|`string`|时区偏移量
`ZoneDesc`|`zone_desc`|`string`|时区描述

### `OATemplateDetail` 审批模板详情

Expand Down
2 changes: 1 addition & 1 deletion errcodes/mod.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions oa.md.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aeccff7

Please sign in to comment.