想问问系统数据的信息显示中能否把日期和时间拆分开 #415

Open
opened 2 months ago by liuli_xinghe · 2 comments

详细描述 / Description

如题,自己diy桌面时发现系统信息中的日期和时间只有一种固定格式,日期的格式只能显示为“xxxx/xx/xx”,时间只能显示为“xx:xx:xx”,且有些不显示为“0x”只有“x”,想问问能否做到将年月日时分秒分别设置,一个项目只显示一个数据,或自定义为其它格式/顺序呢?

信息报告 / System Report

请从【首选项 - 关于 - Bug 反馈... - 生成报告】复制系统和程序基本信息并粘贴到此处
Please copy & paste basic information here via Preferences - About - Bug Report... - Generate Report

崩溃日志 / Crash Log

如果是程序崩溃问题,请上传 call_stack.log, mini_dump.dmp, verbose.log 日志文件
Please upload call_stack.log, mini_dump.dmp, verbose.log if it's a crash report

## 详细描述 / Description > 如题,自己diy桌面时发现系统信息中的日期和时间只有一种固定格式,日期的格式只能显示为“xxxx/xx/xx”,时间只能显示为“xx:xx:xx”,且有些不显示为“0x”只有“x”,想问问能否做到将年月日时分秒分别设置,一个项目只显示一个数据,或自定义为其它格式/顺序呢? ## 信息报告 / System Report > 请从【首选项 - 关于 - Bug 反馈... - 生成报告】复制系统和程序基本信息并粘贴到此处 > Please copy & paste basic information here via Preferences - About - Bug Report... - Generate Report ## 崩溃日志 / Crash Log > 如果是程序崩溃问题,请上传 call_stack.log, mini_dump.dmp, verbose.log 日志文件 > Please upload call_stack.log, mini_dump.dmp, verbose.log if it's a crash report
Owner

试试数据选系统信息-当前时间,以及格式化字符串 %Y年%m月%d日%H时%M分%S秒

试试数据选`系统信息-当前时间`,以及格式化字符串 `%Y年%m月%d日%H时%M分%S秒`
Poster

试试数据选系统信息-当前时间,以及格式化字符串 %Y年%m月%d日%H时%M分%S秒

原来是要这样,成功做出想要的效果了,非常感谢解答!

> 试试数据选`系统信息-当前时间`,以及格式化字符串 `%Y年%m月%d日%H时%M分%S秒` 原来是要这样,成功做出想要的效果了,非常感谢解答!
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.