Skip to content

chrono/ru: half year doesn't add anything #592

@apogay37

Description

@apogay37
const chrono = require('chrono-node/ru');

console.log(new Date); // 2025-04-22T07:53:38.314Z
console.log(chrono.parseDate('через пол часа')); // 2025-04-22T08:23:38.324Z <-- added 30 minutes
console.log(chrono.parseDate('через пол года')); // 2025-04-22T07:53:38.432Z <-- did not add anything

"через пол часа" (in half hour) adds 30 minutes
"через пол года" (in half year) does not add anything at all

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions