Skip to content

Not working for zh_CN #21

@xiaod0510

Description

@xiaod0510
image image

The Hour Hand did not work for me like above picture 1,and I found the bug is at the line 133 .
You could try it by navigator.language='zh_CN', so maybe the better code is :
var local_hour = parseInt(now.toLocaleString(navigator.language, { hour: '2-digit', hour12: true, timeZone: config.time_zone }).replaceAll(/\D+/g,""));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions