?
avatar vdneut
vdneut
1 Sep 2017

Steps to reproduce the issue

Create new article and enter title
Select Publishing tab
Select Start Publishing date from date picker
Remove time part of the date/time field
Press Save

Expected result

Start Publishing field shows: 2017-09-03 00:00:00

Actual result

Start Publishing field shows: 2017-09-03 21:04:00

System information (as much as possible)

Joomla! 3.7.5 Stable [ Amani ] 14-August-2017 12:09 GMT

Additional comments

After saving and removing the time form the field it DOES show 00:00;00 as expected.
Problem only when initial save is done.

avatar vdneut vdneut - open - 1 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Sep 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Sep 2017

Issue confirmed.

Also if copy "00:00:00" inside Start Publishing Time is set like "10:59:09".

avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Sep 2017
Status New Confirmed
avatar dgt41
dgt41 - comment - 2 Sep 2017

@vdneut does #17703 solve the problem?

avatar dgt41
dgt41 - comment - 2 Sep 2017

edit:

Remove time part of the date/time field

That will not reset the time, you need to set it manually e.g. 00:00:00

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Sep 2017

@dgt41 i used latest staging for Test, as #17703 is merged it don't help in this Case.

avatar dgt41
dgt41 - comment - 2 Sep 2017

@franz-wohlkoenig read my previous comment, atm deleting the time is not reseting it, if that's a bug then let's make a PR...

EDIT: my feeling is that in a calendar field that time is required if none is provided then current time is used, I don't remember the actual, but I bet this is the current functionality

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Sep 2017

@dgt41 i manually appended 00:00:00 and it gets resetted by actual Time (Comment)

I would also expect that empty time is removed by "10:04:09" and not by "00:00:00".

avatar vdneut
vdneut - comment - 2 Sep 2017

Previous behavior was: if you remove time string like 12:12:12 in any case, the time was allways set to 00:00:00. I'm sure because I do this every week for > 5 years now. It also makes sence as having only a date, one would expect the time would be midnight.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Sep 2017

@vdneut thanks for Info, didn't know that.

avatar jimbrooking
jimbrooking - comment - 24 Oct 2017

At my site setting publishing end date to something, and leafing created and start publishing dates clear, then saving, causes end publishing date to get hosed. This is a Medium-High impact error as we use an ent date on most of our articles (30-60/month). Please see pefore/after screen shots.
screen shot 2017-10-24 at 00 25 12screen shot 2017-10-24 at 00 25 14


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17829.

avatar infograf768
infograf768 - comment - 24 Oct 2017

@jimbrooking I can't reproduce this.
dateendpublishing

avatar jimbrooking
jimbrooking - comment - 24 Oct 2017

It appears that you are using the TinyMCE Editor. TinyMCE does not exhibit the problem. JCE (version 2.6.19) is where my problem lies. Should this be taken up with the JCE people instead of Joomla?

Thanks for checking.

avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Oct 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-10-24 13:30:57
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - close - 24 Oct 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 24 Oct 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 Oct 2017

closed as no Core-Issue.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17829.

Add a Comment

Login with GitHub to post a comment