Skip to content

Wrong timezone conversion to radian #1

@pham-tuan-binh

Description

@pham-tuan-binh

I believe you forgot to multiply the timezone by 15 before converting it to radian.

Line 164 in sky-sim.html:
var time_zone_meridian = deg2rad(parseFloat($('#tz_sm').val()));

There were also some unused variables in your code, like "tz_offset", which I believe was faulty because of the wrong timezone calculation.

Anyway, super kudos for your amazing project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions