Bug 91299 - [PRINTING]/[PDF]: Use normal dates (instead of relative) in comments
Summary: [PRINTING]/[PDF]: Use normal dates (instead of relative) in comments
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: low enhancement
Assignee: Mike Kaganski
URL:
Whiteboard: target:5.3.0
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-15 06:47 UTC by Mike Kaganski
Modified: 2016-10-13 23:58 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
PDF with comment with unclear date (18.41 KB, application/pdf)
2015-05-15 06:47 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2015-05-15 06:47:07 UTC
Created attachment 115616 [details]
PDF with comment with unclear date

When printing document with comments, recent comments dates are printed as "Today, 16:37" instead of, e.g., "15/05/2015 16:37". This is OK when viewing (although not necessary), but undesirable in printed/exported static documents, because it's unclear what is the real date of the comment, when the document is reviewed later.

Steps to reproduce:
1. Create a new text document
2. Put a comment (Ctrl+Alt+C) with some text
3. Note that comment date looks like "Today, 16:37"
4. Print with comments (Ctrl+P->General tab->Comments->Place in margins)

Desired result:
the printout should contain comment with date tag like "15/05/2015 16:37"

Actual result:
the printout contains comment with date tag like "Today, 16:37"

Proposal is to either adjust printing/export to use normal dates, or remove relative dates from comments at all, including viewing. I suppose the last would be easier (and not harmful).
Comment 1 Buovjaga 2015-05-19 11:06:06 UTC
Yep.

Win 7 Pro 64-bit Version: 5.0.0.0.alpha1+
Build ID: 158b50763962f66515062300e265839828463efa
TinderBox: Win-x86@39, Branch:master, Time: 2015-05-19_00:28:31
Locale: fi-FI (fi_FI)
Comment 2 Robinson Tryon (qubit) 2015-12-13 11:20:53 UTC Comment hidden (obsolete)
Comment 3 Mike Kaganski 2016-09-06 16:24:00 UTC
A patch is submitted to gerrit: https://gerrit.libreoffice.org/28698
Comment 4 Commit Notification 2016-10-13 08:11:22 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=fa368c4eba7406b66623374cea69d9f59db1fb18

tdf#91299: always use normal dates in comments (no "today"/"yesterday")

It will be available in 5.3.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.