Page MenuHomePhabricator

Can't create one day event
Closed, ResolvedPublic

Assigned To
Authored By
Luke081515.2
Jun 13 2017, 8:41 PM
Referenced Files
F5042482: calendar-2-settings.PNG
Jul 11 2017, 9:10 PM
F5042478: settings-3.PNG
Jul 11 2017, 9:10 PM
F5042481: calendar-1-settings.PNG
Jul 11 2017, 9:10 PM
F5042479: calendar-1.PNG
Jul 11 2017, 9:10 PM
F5042480: calendar-2.PNG
Jul 11 2017, 9:10 PM
F5042446: image.png
Jul 11 2017, 8:40 PM
F5042448: image.png
Jul 11 2017, 8:40 PM
F5000936: Screen Shot 2017-06-13 at 1.53.33 PM.png
Jun 13 2017, 8:54 PM

Description

How to reproduce:

  • Check one day event
  • Set the start date to the same date as the end date, create it. You will get: "End date must be after start date."
  • So you have an event from day1 0:00 till day2 23:59
  • You can now set the end date to day1

Event Timeline

Version infos are:

phabricator
    0d1654446be6de43b2bd12fcc247db0dc1a46464 (Sat, Jun 10) 
arcanist
    c04f141ab0231e593a513356b3832a30f9404627 (Fri, Jun 9) 
phutil
    74a1350416eb2df825c2315d6519bee03f77bee9 (Mon, Jun 5)

Calendar1.PNG (341×1 px, 21 KB)

Example 1: You can't create an event from day 1 0:00 till day 1 23:59

Calendar2.PNG (370×629 px, 18 KB)

Example 2: You can change it later if you want, but it is not possible on creation.

I can't reproduce this. Here's what I did:

  • Navigate to Calendar.
  • Click Create Event.
  • Click All Day Event.
  • Save the form.

Here's the form before I submitted it:

Screen Shot 2017-06-13 at 1.53.33 PM.png (1×1 px, 171 KB)

Here's the event it created:

Screen Shot 2017-06-13 at 1.53.44 PM.png (1×1 px, 165 KB)

That's weird since I exactly did the same with my version from above. Did you used the current or my version? Or should I update and try if I can reproduce it at the master?

I used the current version, but there should be no meaningful changes to this behavior between your version and HEAD.

Should not, but looks like there are. I updated to master now, and it works now.

Why does your date format look different than ours? Is that a local modification or do we support this somewhere I'm not aware of.

image.png (150×224 px, 13 KB)

image.png (220×360 px, 15 KB)

Hm, this screenshot made me dig a bit into the whole thing, so here is what I've found:
First, my date format is different because of my settings:

What I experienced now, is weird: I changed my personal settings to the default value (F5042478), which is the european format in my case too (not sure why yet?), and after I changed that, I'm not able to reproduce that issue anymore. Maybe this is just a migration issue, so something went wrong due upgrading from an older version, so it is not reproducible with a fresh install?