GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BUG: The order of the items in edit event timeline schedule · Issue #651 · hackjunction/JunctionApp

BUG: The order of the items in edit event timeline schedule #651

New issue
Copy link
New issue
Copy link
Open
Open
BUG: The order of the items in edit event timeline schedule#651
Copy link
Labels
bugSomething isn't working

Description

@grigorovaa
grigorovaa
opened on Aug 19, 2023
Issue body actions

🐛 Bug Report

What went wrong?

On the edit even page, the Timeline section does not behave as expected when adding a new item to the schedule. When adding a new item to the timeline schedule, the date is saved as a date object rather than a string, which cannot be directly compared to what is fetched from the server in the string format.

Expected Behavior

The order of timeline items stays the same as you add a new item.

Actual Behavior

The order of the timeline changes on each title input change.
The date format displayed to the user is also different depending on the type of value passed to the component that renders the date. It's either as a string or an ISO formatted string.

Steps to Reproduce Issue

If there are no objects in the timeline add a new item and save the changes. Then add a new item without saving the changes and try typing in the input field again. The order of the items should change on each input update.

Browser

Browser info:
Firefox

Screenshots

image image

Activity

  1. grigorovaa
    added
    bugSomething isn't working
    on Aug 19, 2023
  2. samurotko commented on Aug 22, 2023

    @samurotko
    samurotko
    on Aug 22, 2023
    Contributor
    More actions

    I could not reproduce the issue @grigorovaa. How do you get the timestamp to look like that, I have always the default view. Might be also browser specific issue.

    Should be easy fix tho, just parse the datetime to correct format at submit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.