MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Time format help me please



  • Re: MMM-SORT
    Hello Mikle1 and well done for what you do, I live in France and I write with a translator, I installed your MMM-SORT module which is really great and I would like to know if it was possible to have the time format in 24 hours because I am not familiar with the AM PM format, thank you for your help and congratulations again


  • Project Sponsor Module Developer

    @Manu85

    Je vous remercie pour vos aimables paroles. J’habite à NYC-USA et je vous réponds en utilisant un traducteur. Je pense que je peux le faire. Je vous répondrai dans un jour ou deux. Assez bien?

    Thank you for your kind words. I live in NYC-USA and I am answering you using a translator. I think I can do that. I will get back to you in a day or two. Good enough?


  • Project Sponsor Module Developer

    @Manu85

    Is this what you had in mind?

    Run git pull in the MMM-SORT directory to get the updated files

    Add timeFormat: " HH:mm", to your config entry for MMM-SORT



  • Hello Mikle1, you are really AWESOME, Thanks for your help, have a nice day



  • hi Mikle1, do you think you can add the tidal coefficient? I think it would be a real advantage, I live on the west coast of France and here most of the inhabitants have boats, as it is the Atlantic Ocean to be able to go out at sea you have to know the coefficients, I think that if you do that you will have a lot of success with this module 🙂 while waiting bravo for everything
    cordially



  • oh excuse me it’s not Mikle1 but Mykle1, sorry



  • @Manu85 if you use the @ in front of the users name, the system will send them a notification



  • @sdetweil Thank you very much for that info 👍


  • Project Sponsor Module Developer

    @Manu85 said in Time format help me please:

    do you think you can add the tidal coefficient?

    The tidal coefficients are not present in the data from the api.

    Sample:

    Array(28)
    0
    :
    date
    :
    "2020-04-03T14:52+0000"
    dt
    :
    1585925563
    height
    :
    -0.725
    type
    :
    "Low"
    __proto__
    :
    Object
    1
    :
    date
    :
    "2020-04-03T20:42+0000"
    dt
    :
    1585946563
    height
    :
    0.575
    type
    :
    "High"
    __proto__
    :
    Object
    2
    :
    date
    :
    "2020-04-04T03:07+0000"
    dt
    :
    1585969622
    height
    :
    -0.695
    type
    :
    "Low"
    __proto__
    :
    Object
    3
    :
    date
    :
    "2020-04-04T09:06+0000"
    dt
    :
    1585991195
    height
    :
    0.813
    type
    :
    "High"
    __proto__
    :
    Object
    4
    :
    date
    :
    "2020-04-04T15:45+0000"
    dt
    :
    1586015158
    height
    :
    -0.829
    type
    :
    "Low"
    __proto__
    
    

    I think that if you do that you will have a lot of success with this module

    It took me a few minutes to recover from this. hahaha

    Please mark the post that solved your first request as solved.

    Also, this page has a tide coefficient table for the entire year of 2020
    https://tides4fishing.com/tides/tidal-coefficient