Git Product home page Git Product logo

Comments (5)

ka215 avatar ka215 commented on August 16, 2024

Hi there,

I could not reproduce the same trouble as you. Would you tell me the option values of the plugin that had set when you encountered the trouble?
Also, please let me know the timezone of your execution environment. Does summer-time exist in your locale? Unfortunately, the current plugin does not support daylight savings time, which may be the cause.

Thank you,

from jquery.timeline.

potimaripoti avatar potimaripoti commented on August 16, 2024

Hi,
Thanks for the quick response. I posted below the script I'm using, I'm not specifying any timezone in particular, I'm in London timezone. Do I need it? Thanks you.

<script>
    let options_1 = {
        type: 'bar',
        rangeAlign: 'left',
        width: 'auto',
        height: 'auto',
        minGridSize: 75,
        marginHeight: 2,
        startDatetime: '2019-05-22 00:00',
        endDatetime: '2020-01-22 00:00',
        scale: 'day',

        headline: {
            display: true,
            title: 'Course Calendar',
            range: false,
            color: '#2A3F54'
        },
        sidebar: {
            sticky: true,
            overlay: false,
            list: [
                '<p class="text-center"><strong>Course Calendar</strong></p>',
                '<p class="text-center"><strong></strong></p>',
                '<p class="text-center"><strong>C Events</strong></p>',
                '<p class="text-center"><strong>K Events</strong></p>',
            ]
        },
        ruler: {
            top: {
                lines: ['month', 'day', 'weekday'],
                height: 50,
                fontSize: 14,
                color: '#2A3F54',
                background: '#ffffff',
                format: { year:'numeric', month: 'long', day: 'numeric', weekday: 'short' }
            },
            
        },


    }
    $('#myTimeline').Timeline(options_1)
</script>

from jquery.timeline.

ka215 avatar ka215 commented on August 16, 2024

Hi,
Thank you for providing information, I could reproduce the trouble you reported.
I'm looking like in all probability the cause of the trouble is the difference in time due to the end of summertime on 10/27.

The current plugin doesn't support summertime (Daylight Savings Time) or timezone offsets, so I'm going to do that.

Sorry, I hope to wait until my corresponding is over.

from jquery.timeline.

ka215 avatar ka215 commented on August 16, 2024

Oh and,
as a temporary response method at the present time, by including the summertime start date in the timeline display range, the summertime difference can be offset so that normal display can be performed.

Thank you,

from jquery.timeline.

ka215 avatar ka215 commented on August 16, 2024

This issue has already been resolved.

from jquery.timeline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.