Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Typo3 如何使用rggooglmap显示日期?_Typo3_Typoscript - Fatal编程技术网

Typo3 如何使用rggooglmap显示日期?

Typo3 如何使用rggooglmap显示日期?,typo3,typoscript,Typo3,Typoscript,我正试图用rggooglemap扩展名显示一个tt\U地址生日日期 因此,我将#########放在模板中,但它在UNIX中显示日期。它给了我类似于1409090400的东西 我能做些什么来转换打字稿吗 <!-- ###TEMPLATE_RECORDLIST_FIRST### --> <div id="resultdiv"> <br/> <table class="contenttable"> <caption>###PB_ST

我正试图用rggooglemap扩展名显示一个
tt\U地址
生日日期

因此,我将
#########
放在模板中,但它在UNIX中显示日期。它给了我类似于
1409090400
的东西

我能做些什么来转换打字稿吗

<!-- ###TEMPLATE_RECORDLIST_FIRST### -->
<div id="resultdiv">
<br/>
<table class="contenttable">
    <caption>###PB_STATISTIC### <br/>Page: ###PB_ACT###</caption>
    <thead>
    <tr>
        <th>Lieu d'installation</th>
        <th>Adresse</th>
        <th>Contact*</th>
        <th>Date d'autorisation</th>
    </tr>
    </thead>
    <!-- ###CONTENT### -->

    <!-- ###SINGLE### -->
    <tr>
        <td><a href="javascript:void(0)" onClick="myclick(###UID###,###LNG###,###LAT###,'###TABLE###')">###NAME### </a></td>
        <td>###ADDRESS###<br/>###ZIP### ###CITY### </td>
        <td>###EMAIL###<br/>###PHONE###</td>
        <td>###BIRTHDAY###</td>
    </tr>
    <!-- ###SINGLE### -->
    <!-- ###CONTENT### -->
    </td>
 </div>
 <!-- ###TEMPLATE_RECORDLIST_FIRST### -->


###PB######
第页:###PB#法案### 代安装 阿迪斯 接触* 自动生效日期 ###地址####
##########城市## ###电子邮件####
####电话### ###生日###

配置
  • 类型3 4.7.10
  • 谷歌地图3.0.3

要将时间戳转换为人类可读的日期,只需使用打字脚本参数»strftime«

我不知道EXT:rggooglemap是如何生成标记的,但是在快速查看代码(函数getMarker,第1344行)之后,下面的打字脚本应该可以做到这一点:

plugin.tx_rggooglemap_pi1 {
    ### view
    recordlist {
        ### field
        birthday {
            ### apply stdWrap
            ### convert timestamp to readable date
            strftime = %Y-%m-%d
        }
    }
}