Skip to content
New issue

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

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

Already on GitHub? # to your account

no description about 'Units' from "DATEDIF(Date1, Date2, Units)" #1462

Open
cuihee opened this issue Nov 20, 2024 · 1 comment
Open

no description about 'Units' from "DATEDIF(Date1, Date2, Units)" #1462

cuihee opened this issue Nov 20, 2024 · 1 comment
Labels
Bug Something isn't working Docs Improvements or additions to documentation

Comments

@cuihee
Copy link

cuihee commented Nov 20, 2024

Page URL

https://hyperformula.handsontable.com/guide/built-in-functions.html#list-of-available-functions

Improvement description

DATEDIF | Calculates distance between two dates, in provided unit parameter. | DATEDIF(Date1, Date2, Units) -- | -- | --

check resource code:
es/interpreter/plugin/DateTimePlugin.js
line 261
"switch (unit) {
case 'M':"

@AMBudnik
Copy link
Contributor

AMBudnik commented Nov 20, 2024

Thank you for sharing the issue report, @cuihee

You are right. To provide a comprehensive guide, we'd need to either direct users to another resource or list them ourselves. Now we only show possible units within the tests scenarios like

@AMBudnik AMBudnik added the Docs Improvements or additions to documentation label Nov 20, 2024
@sequba sequba added the Bug Something isn't working label Dec 3, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug Something isn't working Docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants