Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义布局时间戳问题 #99

Closed
final00000000 opened this issue Sep 4, 2024 · 4 comments
Closed

自定义布局时间戳问题 #99

final00000000 opened this issue Sep 4, 2024 · 4 comments

Comments

@final00000000
Copy link

引入了最新的版本 然后自定义了布局 只有小时和分钟;
返回的时间戳也是只有小时和分钟 如何返回全部的时间戳? 有遇到过的吗

@loper7
Copy link
Owner

loper7 commented Sep 5, 2024

方便的话贴一下你的使用方式

@final00000000
Copy link
Author

通过Demo演示

主页返回数据

image

XML

image

xml 引入的自定义布局 只有小时分钟 其他的给注释掉了

image

@loper7
Copy link
Owner

loper7 commented Sep 5, 2024

image
同步数据的时候确实是这个逻辑,如果想要完整的时间戳,可以创建一个当前时间的calendar,把时分擦除,然后加上选择器选择的时间戳

@loper7 loper7 closed this as completed Sep 5, 2024
@loper7
Copy link
Owner

loper7 commented Sep 5, 2024

这个后续会考虑优化

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants