Bug 146911 - Typo in DateValue() documentation
Summary: Typo in DateValue() documentation
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
6.4.7.2 release
Hardware: All All
: medium minor
Assignee: Rafael Lima
URL:
Whiteboard: target:7.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-22 00:59 UTC by Jim Avera
Modified: 2022-03-02 12:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Avera 2022-01-22 00:59:34 UTC
The BASIC DateValue function documentation says

"Returns a date value from a date string. The *date string* is a complete date in a single numeric value. "

The second sentence probably meant to say "The return value..." instead of "The date string...".
Comment 1 Julien Nabet 2022-01-22 08:59:06 UTC
Code pointer:
helpcontent2/source/text/sbasic/shared/03030102.xhp:37:  <paragraph role="paragraph" id="par_id3150542" xml-lang="en-US">Returns a date value from a date string. The date string is a complete date in a single numeric value. You can also use this serial number to determine the difference between two dates.</paragraph>
Comment 2 Rafael Lima 2022-01-24 17:35:01 UTC
The sentence does need some improvement:

https://help.libreoffice.org/7.4/en-US/text/sbasic/shared/03030102.html?DbPAR=BASIC#bm_id3156344

I'll work on it.
Comment 3 Rafael Lima 2022-01-24 18:07:27 UTC
Proposed patch available for review at:
https://gerrit.libreoffice.org/c/help/+/128818
Comment 4 Commit Notification 2022-01-25 16:22:13 UTC
Rafael Lima committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/3144ec5695574689ffd32dcef7b7b7a29e63dbf9

tdf#146911 Improve Basic DateValue description
Comment 5 Julien Nabet 2022-02-27 10:51:50 UTC
Rafael: can we put this one to FIXED?
Comment 6 Rafael Lima 2022-03-02 12:26:26 UTC
Setting this bug to FIXED. The changes are now effective in:

https://help.libreoffice.org/master/en-US/text/sbasic/shared/03030102.html