Changeset 100762 in spip-zone


Ignore:
Timestamp:
Nov 29, 2016, 4:54:30 PM (2 years ago)
Author:
jeanmarie.listes@…
Message:

V4.0.1-dev: on remplace le formatage des dates |date_iso par |affdate{Y-m-dTH:i:s} pour éviter le décalage dû au fuseau horaire.
Cf https://www.mail-archive.com/spip-zone@rezo.net/msg41307.html

Location:
_plugins_/agenda/trunk
Files:
3 edited

Legend:

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

    r100306 r100762  
    22        prefix="agenda"
    33        categorie="date"
    4         version="4.0.0-dev"
     4        version="4.0.1-dev"
    55        etat="dev"
    66        compatibilite="[3.0.0;3.1.*]"
  • _plugins_/agenda/trunk/squelettes/inc-rss-item-evenement.html

    r67349 r100762  
    55        [<guid isPermaLink="true">(#URL_EVENEMENT|url_absolue)</guid>]
    66        <date>#DATE_DEBUT</date>
    7         [<dc:date>(#DATE_DEBUT|date_iso)</dc:date>]
     7        [<dc:date>(#DATE_DEBUT||affdate{Y-m-dTH:i:s})</dc:date>]
    88        <dc:format>text/html</dc:format>
    99        [<dc:language>(#LANG)</dc:language>]
  • _plugins_/agenda/trunk/squelettes/inclure/resume/evenement.html

    r85319 r100762  
    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|date_iso)]" />
    8         <meta itemprop="endDate" content="[(#DATE_FIN|date_iso)]" />
     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})]" />
    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.