Skip to content

How to parse the value '2024-49周'? #577

Open

Description

@NickJiangDev

When I use the npm package try to parse the value

import { zh } from 'chrono-node';
zh.parseDate('2024-49周');

but receive null

Activity

  1. wanasit commented on Jan 25, 2025

    @wanasit
    Owner

    Hello. I'm sorry for not getting back to you sooner.

    Could you explain more about 49周 usage? If xx-week in to the year (?) a common way to refer to the date/time in Chinese?

  2. added
    to-clarifyFor issues that need more clarification and review
    on Jan 25, 2025
  3. Tzahreddin commented on Oct 13, 2026

    @Tzahreddin

    Related DE support for ISO calendar weeks (KW / Kalenderwoche) is proposed in #674 (shared isoWeek helpers intended for a later zh YYYY-N周 parser as well).


    Disclosure: This comment was written with AI assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    to-clarifyFor issues that need more clarification and review

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions