Sign In Register

How can we help you today?

Start a new topic

iso 8601

I feel like ${format(today, 'yyyyww')} doesn't seem to be following ISO 8601

https://en.wikipedia.org/wiki/ISO_8601


Currently I cannot get the same shortcode as the server using the servers own timeĀ 


In Layman's terms, right now (12/19/2016) when I create a new event in TestHarness its created with week 52 instead of week 51.


List of expressions I've found:


${today} - The epoch time of midnight today.

${now} - The current epoch time.

${today:minusDays(N)} - The epoch time of midnight N days ago.

${today:plusDays(N)} - The epoch time of midnight N days in the future.

${today:startOfWeek()} - The epoch time of midnight at the start of the week.

${today:startOfMonth()} - The epoch time of midnight at the start of the month.

${format(today, 'yyyyMMdd')} - The epoch time of midnight today formatted for [year][month][day] (Good for partitioning days)

${format(today, 'yyyyww')} - Doesn't seem to be following ISO_8601 (supposed to be for partitioning weeks)

${format(today, 'yyyyMM')} - The epoch time of midnight today formatted for [year][month] (Good for partitioning months)

1 Comment

Hi Kamau,


We received your ticket in relation to this issue and are currently looking into it for you. We'll be in touch when we have an update for you.


Thanks,

Liam

Login to post a comment