CesiumGS / CesiumGS/cesium

JulianDate.fromIso8601 throws error

Open
#2,544 5 comments 0 reactions 0 assignees View on GitHub
category - math type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

``` javascript
var date = new Cesium.JulianDate()
var isoDate = Cesium.JulianDate.toIso8601(date) // "-4713-11-24T12:00:00Z"
Cesium.JulianDate.fromIso8601(isoDate) // throws DeveloperError "Invalid ISO 8601 date."
```

Contributor guide

Open the contributing guide

Research direction

Start by running the JulianDate.toIso8601 and JulianDate.fromIso8601 example from the issue, then locate the implementations of those entry points. Check why the date produced by toIso8601 is rejected by fromIso8601; done means the shown round trip no longer throws DeveloperError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.