RDV
This commit is contained in:
parent
a661bcc5e6
commit
6ae403817f
@ -5,6 +5,11 @@
|
|||||||
<#return ((rfxdatetime + offset)?datetime.iso?iso_utc)>
|
<#return ((rfxdatetime + offset)?datetime.iso?iso_utc)>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
|
<#function RfxDateTimetoUTCWithTimezone rfxdatetime timezone>
|
||||||
|
<#setting time_zone=timezone>
|
||||||
|
<#return (rfxdatetime?datetime.iso?iso_utc)>
|
||||||
|
</#function>
|
||||||
|
|
||||||
<#function DateTimeUTCtoRfxLocale dateutc locale >
|
<#function DateTimeUTCtoRfxLocale dateutc locale >
|
||||||
<#return dateutc?datetime.iso?iso_nz(locale)>
|
<#return dateutc?datetime.iso?iso_nz(locale)>
|
||||||
</#function>
|
</#function>
|
||||||
@ -16,14 +21,14 @@
|
|||||||
<#assign timeInMilliseconds = (1000 * seconds) >
|
<#assign timeInMilliseconds = (1000 * seconds) >
|
||||||
<#assign aDate = date?long + timeInMilliseconds>
|
<#assign aDate = date?long + timeInMilliseconds>
|
||||||
<#return aDate?number_to_datetime>
|
<#return aDate?number_to_datetime>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#-- -------------------------------------------------------------------------------------------- -->
|
<#-- -------------------------------------------------------------------------------------------- -->
|
||||||
<#-- Duration between two datetimes in second -->
|
<#-- Duration between two datetimes in second -->
|
||||||
<#-- -------------------------------------------------------------------------------------------- -->
|
<#-- -------------------------------------------------------------------------------------------- -->
|
||||||
<#function DurationBetweenTwoDatetimeInSeconds startDate endDate>
|
<#function DurationBetweenTwoDatetimeInSeconds startDate endDate>
|
||||||
<#return (endDate?long - startDate?long) / 1000 >
|
<#return (endDate?long - startDate?long) / 1000 >
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#-- --------------------------------------------------------------------------------------- -->
|
<#-- --------------------------------------------------------------------------------------- -->
|
||||||
<#-- Split email HARDIS WMS into json array string -->
|
<#-- Split email HARDIS WMS into json array string -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user