Hi Julien,

According to moment.js library documentation
(http://momentjs.com/docs/#/parsing/string-format/),

Correct syntax is :
"DD/MM/YYYY HH:mm"

I checked it in your TW with tiddler "2" end date set to "21/07/2017 23:30" 
and it worked.


Best regards.

Eskha


Le mercredi 19 juillet 2017 12:30:46 UTC+2, Julien H a écrit :
>
> Hi Mark,
> I tried many variant but I am not sure to fully understand your suggestion 
> about the 12 hour clock..
> I publish the example I was talking about at the address 
> https://houss.in/test/
> Can you take a look at it?
> Regards.
> Julien.
>
> Le mercredi 19 juillet 2017 00:07:39 UTC+2, Mark S. a écrit :
>>
>> When you show am/pm, did you literally put "am/pm" ? Either just AM or 
>> "am" or "PM" or "pm" should do it. If not, try the 12 hour clock indicate 
>> "hh12".
>>
>> If nothing works, you might experiment with updating the TiddlyWiki (make 
>> a backup!). That TW is very old now.
>>
>> Good luck,
>> Mark
>>
>> On Tuesday, July 18, 2017 at 2:06:56 PM UTC-7, Julien H wrote:
>>>
>>> Thank you Mark ! This is working now when I put a starting and an ending 
>>> hour that are in the morning.
>>> Is there is any way to indicate AM or PM? Because if you use hour such 
>>> as 14:30 it doesn't work.
>>>
>>> I tried 
>>> <$visjstimeline filter="[tag[Planning]]" startDateField="start" 
>>> endDateField="end" format="DD/MM/YYYY hh:mm am/pm"/>
>>>
>>> And
>>> <$visjstimeline filter="[tag[Planning]]" startDateField="start" 
>>> endDateField="end" format="DD/MM/YYYY hh:mm AM/PM"/>
>>>
>>> Julien
>>>
>>> Le lundi 17 juillet 2017 23:42:49 UTC+2, Mark S. a écrit :
>>>>
>>>> HH:MM should be hh:mm . See if that helps.
>>>>
>>>> Good luck,
>>>> Mark
>>>>
>>>> On Monday, July 17, 2017 at 2:11:52 PM UTC-7, Julien H wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>>  
>>>>>
>>>>> I am using TW5 with the plugin to create a Timeline called *"Visual 
>>>>> timeline widget plugin v0.8.1". *This is a very interesting plugin. 
>>>>> You can check an example of the plugin use 
>>>>> <http://emkayonline.github.io/tw5visjs/>and the description on the 
>>>>> forum 
>>>>> <https://groups.google.com/forum/#!searchin/TiddlyWiki/timeline%7Csort:relevance/tiddlywiki/ZizlWg5I0iU/7d6jdOtDV9QJ>
>>>>>
>>>>>  
>>>>>
>>>>> In the syntax in the tiddler, I use 
>>>>>
>>>>> <$visjstimeline filter="[tag[Planning]]" startDateField="start" 
>>>>> endDateField="end" format="DD/MM/YYYY"/>
>>>>>
>>>>>
>>>>> And I would like to also use hours and possibly minutes. I tried a 
>>>>> different syntax like 
>>>>>
>>>>> format="DD/MM/YYYY HH:MM"
>>>>>
>>>>> This doesn't work and I would like your input. Have you try this 
>>>>> plugin? Did you manage to use hours in your timeline?
>>>>>
>>>>>  
>>>>>
>>>>> Julien
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d4126d72-6279-4de9-b0d0-23e1c1b57090%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to