[elm-discuss] Re: What's the proper way of decoding Date inside JSON that comes through port?

2017-02-07 Thread Justin Mimbs
ll be able to decode it as a Float in Elm and convert it to a Date with Date.fromTime <http://package.elm-lang.org/packages/elm-lang/core/5.1.1/Date#fromTime>. Hope this helps! Justin On Saturday, February 4, 2017 at 9:35:10 AM UTC-5, fxmy wang wrote: > > Thanks Justing. > > W

[elm-discuss] Re: What's the proper way of decoding Date inside JSON that comes through port?

2017-01-30 Thread Justin Mimbs
m to a JSON-representable type. Justin On Sunday, January 29, 2017 at 2:47:43 PM UTC-5, Mickey Vashchinsky wrote: > > Looks like you already have Date and not String. > > I am pretty new to Elm myself and I couldn't find a way to decodeValue of > Date, but, I think as a workaround, on Jav

[elm-discuss] Re: Visualizing project dependencies

2016-12-22 Thread Justin Mimbs
Thanks, Wouter! Glad to hear that. I don't plan to take it down (it's hosted on Github). I agree, it gives a good overview of a project's structure, regardless of its folder structure. Justin On Thursday, December 22, 2016 at 5:49:46 AM UTC-5, Wouter In t Velt wrote: > > Op donder

[elm-discuss] Visualizing project dependencies

2016-12-21 Thread Justin Mimbs
ething that seems useful to you too, please let me know. Any feedback is welcome! Justin -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsu

Re: [elm-discuss] Noob questions re the http example

2016-11-26 Thread Justin
Great answers. Thank you both very much. I think the docs, esp those related to the elm architecture examples, could do with fleshing out this kind of stuff. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and

Re: [elm-discuss] Noob questions re the http example

2016-11-26 Thread Justin
Great answers. Thank you both very much. I think the docs, esp those related to the elm architecture examples, could do with fleshing out this kind of stuff. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and

[elm-discuss] Noob questions re the http example

2016-11-25 Thread Justin
String)' ? Don't NewGif and MorePlease require the same HTTP calls ? Elm looks great. Thanks in advance for any help and suggestions Justin -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiv

[elm-discuss] Noob HTTP questions

2016-11-25 Thread Justin
to be doing the same thing -> making an HTTP call. Elm looks great. Thanks in advance for anyone's help Justin -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an

[elm-discuss] Re: Converting a UTC date to a local one?

2016-11-16 Thread Justin Mimbs
What format are you receiving your UTC dates in? If they are proper ISO 8601 strings, then you can get the expected Date with `fromIsoString` from here: http://package.elm-lang.org/packages/justinmimbs/elm-date-extra/2.0.1/Date-Extra#fromIsoString. To be recognized as UTC time the string must

[elm-discuss] Re: Elm Brackets extension

2016-07-21 Thread Justin
Vs code is on all platforms https://code.visualstudio.com/b#alt-downloads -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [elm-discuss] Looking for feedback on a Date extra library

2016-07-20 Thread Justin Mimbs
, millisecond = 86 , hour = 4 , day = 18 , calendar = "gregorian" } Date.toUtcIsoString (dateFromRecord dateRecord) -- "2016-07-18T09:14:08.086Z" Is this what you're looking to do? Thanks, Justin On Wednesday, July 20, 2016 at 10:35:15 AM UTC-4, OvermindDL1 wrote:

Re: [elm-discuss] Looking for feedback on a Date extra library

2016-07-19 Thread Justin Mimbs
Thanks, Aaron! I appreciate the feedback. I published version 2 of the package; all functions that work directly with the Date type are now in a single module, Date.Extra. Thanks again, Justin On Saturday, July 16, 2016 at 11:29:33 AM UTC-4, Aaron VonderHaar wrote: > > In general, I b

[elm-discuss] Looking for feedback on a Date extra library

2016-07-16 Thread Justin Mimbs
s well. If I'm to make breaking changes by reorganizing the package, I'd be happy to include other changes at the same time. Thanks! Justin -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop recei

Re: [elm-discuss] Collaboration experiment proposal

2016-07-16 Thread Justin
So the intent of this is that it will lead to the goals you describe but it would do it in a way that can leverage all of our brains not just Evans. I believe that not only will our solutions be better in the long term but we will converge on better solutions for Elm in the short term. I agree

Re: [elm-discuss] Collaboration experiment proposal

2016-07-15 Thread Justin
> like you are suggesting that all PRs be approved automatically. > > > On Fri, Jul 15, 2016 at 11:13 AM, Justin <greye...@gmail.com > > wrote: > >> I am afraid I don't understand this definition at all. Are you talking >>> specifically about the official

Re: [elm-discuss] Collaboration experiment proposal

2016-07-15 Thread Justin
for the package repo? > > The example problem you describe under "Why?" -- four different packages > that do routing in different ways -- How would this situation be any > different if people could submit native code? > > On Fri, Jul 15, 2016 at 10:25 AM,

[elm-discuss] Collaboration experiment proposal

2016-07-15 Thread Justin
This is a continuation of this discussion. Posting in elm-discuss instead of elm-dev based on this . Through this discussion I have realize that the way I define