Bug 71747 - EDITING: 'insert current date' inserts also time and immediately
Summary: EDITING: 'insert current date' inserts also time and immediately
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.1.3.2 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-18 16:09 UTC by mkobylan
Modified: 2015-09-04 09:43 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 mkobylan 2013-11-18 16:09:56 UTC
Feature 'Insert current date' (shortcut CTRL+;) inserts not only current date but also current time (full time stamp). This is different from ms excel and that breaks some formulas. Though cell is formatted as date only but you can clearly see there's time too in input line.
In addition date and time is put into cell without confirmation with Enter. This is different from ms excel and disallows user to add some text after the date.
Shortcut key doesn't work when editing cell. This is different from ms excel and disallows user to add some text before the date.
Excel's behavior of this feature is more flexible.
Workaround is to delete time afterwards (which may take more time than entering date manually) and/or add text before&after date.
Comment 1 GerardF 2013-11-18 20:09:07 UTC
Confirmed.

Insert current date (Ctrl+;) and Insert current time (Ctrl+Shift+;) insert both the current Date-Time.
Only format is different.

It could be source of error.

About the 2nd problem, Insert in Edit mode, I'm not an Excel user and can't confirm this way if entering date stamp and if this is really usefull...
Comment 2 hans.schmidt.5 2014-08-27 14:55:10 UTC
I also confirm this (Version 4.3.0.4). This is especially wrong if calculating the difference between two dates.

For example:

2014-08-27 minus 2014-08-26 should be 1.

But, if 'Insert current date' is used, the time will be used in calculation as well. For example:

2014-08-27 14:00 minus 2014-08-26 16:00 equals 0.9166666667.

This is even done if the cell formatting is set to date only.

Please fix this. This is clearly a bug :) Thanks!
Comment 3 QA Administrators 2015-09-04 02:48:56 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present on a currently supported version of LibreOffice (5.0.0.5 or later)
   https://www.libreoffice.org/download/

   If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
 If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 

1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 
3. Leave a comment with your results. 

4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 
4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-09-03
Comment 4 mkobylan 2015-09-04 09:43:46 UTC
Works in 
LibreOffice_4.4.5_Win_x86.msi 
and in latest 
LibreOffice_5.0.1_Win_x86.msi
.
CTRL+; inserts current date only as requested. Cell is not left in editing mode but date or time is inserted into cell even if there's already something else in the cell so it is possible to insert current date & time by consecutive pressing CTRL+; and CTRL+:. Keyboard shortcuts works also in editing mode so it is possible to add text before and/or after inserted date or time.