Bug 162791 - The specification of the Now function has been changed differently from its description, so additions and modifications are required
Summary: The specification of the Now function has been changed differently from its d...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:25.2.0
Keywords:
Depends on:
Blocks: Macro-StarBasic
  Show dependency treegraph
 
Reported: 2024-09-04 13:17 UTC by nobu
Modified: 2024-12-24 05:39 UTC (History)
3 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 nobu 2024-09-04 13:17:23 UTC
Description:
The specification of the Now function has been changed differently from its description, so additions and modifications are required.

Steps to Reproduce:
1. The Now function has changed.
  https://bugs.documentfoundation.org/show_bug.cgi?id=161469

2. Open help of Now Function.
  https://help.libreoffice.org/25.2/ja/text/sbasic/shared/03030203.html

Actual Results:
3. There are no corrections or additions associated with this change.

Expected Results:
3. Along with the changes, corrections and additions will be made and sample code will be provided.


Reproducible: Always


User Profile Reset: No

Additional Info:
If you change the specifications, you must correct them immediately.
If you don't, you won't know if the feature is correct or if it's a bug.
Comment 2 Commit Notification 2024-09-05 08:37:00 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/d984c2e53073403920ff738525fa7b34910bdc7d

tdf#162791 Update BASIC now() help page.
Comment 3 fpy 2024-09-05 11:40:51 UTC
(In reply to Commit Notification from comment #2)
> Olivier Hallot committed a patch related to this issue.
> It has been pushed to "master":
> 
> https://git.libreoffice.org/help/commit/
> d984c2e53073403920ff738525fa7b34910bdc7d

not sure this change clarify nor reflect the change.

  dim d as date
  d = Now
  dim dd as double
  dd = Now

  MsgBox "It is now " & format(d, "HH:MM:SS.000")
  MsgBox "It is now " & format(dd, "HH:MM:SS.000")
  MsgBox dd
  dd = Now


the "Return value" section should be updated.