Changeset 101870 in spip-zone


Ignore:
Timestamp:
Jan 21, 2017, 11:57:57 AM (3 years ago)
Author:
jeanmarie.listes@…
Message:

V4.0.2-dev : suite de r100762, formatage des dates pour éviter le décalage dû au fuseau horaire tout en restant conforme au format ISO 8601 (1138) cf https://contrib.spip.net/Agenda-2-0?#forum490011

Location:
_plugins_/agenda/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/agenda/trunk/paquet.xml

    r101555 r101870  
    22        prefix="agenda"
    33        categorie="date"
    4         version="4.0.1-dev"
     4        version="4.0.2-dev"
    55        etat="dev"
    66        compatibilite="[3.0.0;3.1.*]"
  • _plugins_/agenda/trunk/squelettes/inclure/resume/evenement.html

    r100762 r101870  
    55        <strong class="h3-like summary entry-title #EDIT{titre}"><a itemprop="url" class="url" href="[(#URL_EVENEMENT)]">[(#LOGO_EVENEMENT|image_reduire{150,100}|inserer_attribut{itemprop,image})]<span itemprop="name">#TITRE</span><span
    66                        class="lire-la-suite hide"><i class="icon-chevron-right" title="<:zpip:lire_la_suite|attribut_html:><:zpip:lire_la_suite_de|attribut_html:>&laquo;[(#TITRE|attribut_html)]&raquo;"></i></span></a></strong>
    7         <meta itemprop="startDate" content="[(#DATE_DEBUT|affdate{Y-m-dTH:i:s})]" />
    8         <meta itemprop="endDate" content="[(#DATE_FIN|affdate{Y-m-dTH:i:s})]" />
     7        <meta itemprop="startDate" content="[(#DATE_DEBUT|affdate{Y-m-d})]T[(#DATE_DEBUT|affdate{H:i:sO})]" />
     8        <meta itemprop="endDate" content="[(#DATE_FIN|affdate{Y-m-d})]T[(#DATE_FIN|affdate{H:i:sO})]" />
    99        [<p class="info-publi"><time><i class="icon-calendar"></i> (#DATE_DEBUT|agenda_affdate_debut_fin{#DATE_FIN,#HORAIRE*,'hcal'})</time></p>]
    1010        #SET{intro,''}<BOUCLE_art(ARTICLES){si #ENV{sinon_intro_article,oui}|=={non}|ou{#ENV{intro}|=={non}}|non}{id_article}>#SET{intro,#INTRODUCTION{#ENV{coupe,300}}</BOUCLE_art>
Note: See TracChangeset for help on using the changeset viewer.