datetimepicker icon indicating copy to clipboard operation
datetimepicker copied to clipboard

Conflicting dependencies on elm-date-extra

Open martindlarsson opened this issue 8 years ago • 3 comments

I would like to use the newly addad Swedish localization in elm-date-extra package which is found in version 9.1.1. Since datetimepicker uses version 8.1.2 upp to 9.0.0, I get a conflict in my project. Would it be possible for you to upgrade to 9 up to 10?

martindlarsson avatar Aug 17 '17 20:08 martindlarsson

I'll take a look. Do you know if there's a summary anywhere of the API changes between 8.1.2 and 9?

avh4 avatar Aug 17 '17 21:08 avh4

I was able to get the API diff with elm-package diff:

â–¶ elm-package diff rluiten/elm-date-extra 8.1.2 9.1.1
Comparing rluiten/elm-date-extra 8.1.2 to 9.1.1...
This is a MAJOR change.

------ Added modules - MINOR ------

    Date.Extra.Config.Config_de_de
    Date.Extra.Config.Config_el_gr
    Date.Extra.Config.Config_et_ee
    Date.Extra.Config.Config_ja_jp
    Date.Extra.Config.Config_lt_lt
    Date.Extra.Config.Config_nl_nl
    Date.Extra.Config.Config_pt_br
    Date.Extra.Config.Config_ru_ru
    Date.Extra.Config.Config_sv_se
    Date.Extra.Config.Config_tr_tr
    Date.Extra.I18n.I_de_de
    Date.Extra.I18n.I_el_gr
    Date.Extra.I18n.I_et_ee
    Date.Extra.I18n.I_ja_jp
    Date.Extra.I18n.I_lt_lt
    Date.Extra.I18n.I_nl_nl
    Date.Extra.I18n.I_pt_br
    Date.Extra.I18n.I_ro_ro
    Date.Extra.I18n.I_ru_ru
    Date.Extra.I18n.I_sv_se
    Date.Extra.I18n.I_tr_tr


------ Changes to module Date.Extra.Config - MAJOR ------

    Changed:
      - type alias Config =
            { i18n : { dayShort : Date.Day -> String,
                       dayName : Date.Day -> String,
                       monthShort : Date.Month -> String,
                       monthName : Date.Month -> String,
                       dayOfMonthWithSuffix : Bool -> Int -> String
                     },
              format : { date : String,
                         longDate : String,
                         time : String,
                         longTime : String,
                         dateTime : String,
                         firstDayOfWeek : Date.Day
                       }
            }
      + type alias Config =
            { i18n : { dayShort : Date.Day -> String,
                       dayName : Date.Day -> String,
                       monthShort : Date.Month -> String,
                       monthName : Date.Month -> String,
                       dayOfMonthWithSuffix : Bool -> Int -> String,
                       twelveHourPeriod : Date.Extra.TwelveHourClock.TwelveHourPeriod -> String
                     },
              format : { date : String,
                         longDate : String,
                         time : String,
                         longTime : String,
                         dateTime : String,
                         firstDayOfWeek : Date.Day
                       }
            }



------ Changes to module Date.Extra.Duration - MINOR ------

    Added:
        diffDays : Date.Date -> Date.Date -> Int

avh4 avatar Aug 18 '17 16:08 avh4

(This is blocked on https://github.com/abadi199/dateparser/pull/9)

avh4 avatar Sep 09 '17 00:09 avh4