https://bugs.documentfoundation.org/show_bug.cgi?id=157603
Bug ID: 157603
Summary: Format Strings documentation misses "AM/PM" specifier
Product: LibreOffice
Version: 3.6.0.4 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
It is possible to format times to use 12-hour AM/PM format, instead of
24-hours. However, the help [1] does not tell that in the respective "Time
Formats" section.
An example of the format string is:
H:MM AM/PM
and the "AM/PM" (five characters, AM then slash then PM) is the exact code to
get the 12-hour format; e.g., "AM / PM" or "AMPM" wouldn't work.
A Basic code like
MsgBox Format(Time(), "HH:MM AM/PM")
gives me at this moment
09:09 PM
[1] https://help.libreoffice.org/latest/en-US/text/shared/01/05020301.html
--
You are receiving this mail because:
You are the assignee for the bug.