Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #51 from jacereda/master
Browse files Browse the repository at this point in the history
Add useUTC
  • Loading branch information
cryogenian authored Jan 24, 2018
2 parents 7a08716 + 338dde1 commit 502deae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/src/Line.purs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import Utils as U

startOptions DSL' ETP.OptionI
startOptions = do
E.useUTC true
E.title do
E.text "Dynamic line"
E.tooltip do
Expand Down
3 changes: 3 additions & 0 deletions src/ECharts/Commands.purs
Original file line number Diff line number Diff line change
Expand Up @@ -1174,3 +1174,6 @@ addDateValue dt =
year' = show <<< fromEnum <<< year
month' = show <<< fromEnum <<< month
day' = show <<< fromEnum <<< day

useUTC i m. Monad m Boolean DSL (useUTC I|i) m
useUTC = set' "useUTC" <<< toForeign
1 change: 1 addition & 0 deletions src/ECharts/Types/Phantom.purs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ type OptionI =
, progressiveI
, progressiveThresholdI
, blendModeI
, useUTC :: I
, hoverLayerThresholdI)

type TimelineI =
Expand Down

0 comments on commit 502deae

Please sign in to comment.