找回密码
 立即注册

微信扫码登录

搜索
查看: 5204|回复: 5

[求助] 手机端时间都带时区了?

[复制链接]

19

主题

702

回帖

4228

积分

元老级技术达人

积分
4228
金钱
3497
HASS币
60
发表于 2019-6-3 14:57:48 | 显示全部楼层
本帖最后由 houhd 于 2019-6-3 14:59 编辑

我的正常,我分享下我的“compact-custom-header”的配置,你比较下看看。
date_locale: zh-CHS这个我有加进去。

        cards:                      
          - type: custom:compact-custom-header
            background_color: 'rgba(150, 150, 150, 0)'      
            main_config: true
            voice: hide  #隐藏语音按钮
            options: clock  #显示时钟
            notifications: hide  #隐藏通知按钮
            clock_format: 24  #时钟格式
            clock_date: true #显示日期
    #        clock_am_pm: true
            all_buttons_color: pink # color of all buttons unless set in button_color
            button_color:
              menu: rgb(255,251,240)                                                            # 菜单按钮颜色   
              notifications: white
              voice: white                                                                      #  语音按钮颜色
              options: white
            all_tabs_color: red # color of all tabs unless set in tab_color
            tab_color:
              0: white                                                                          #  页面图标或文字颜色
              1: white
              2: white
              3: white          
            tab_indicator_color: yellow # indicator under current tab
            notify_indicator_color: "#00FFFF" # the notifications indicator
            notify_text_color: brown # number inside notifications indicator
            chevrons: false
            date_locale: zh-CHS
            main_config: true 

微信图片_20190603145829.jpg

微信图片_20190603145601.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-9-19 04:32 , Processed in 0.786642 second(s), 9 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表