Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue



Status
Tech review

Status
colourYellow
titletodoReady for review

Style guide

Status
colourYellow
titletodoReady for review

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns a 

Status
subtletrue
titletext
with This function returns the day of the week for a date-time t of any given timestamp in text form.

Output

Status
subtletrue
titletext




UI Text Box
sizemedium
typeinfo

Returns a

Status
subtletrue
titletext
with This function returns the day of the week for a date-time t, in a certain time_zone, and language of any given timestamp in text form.


Code Block
languagebash
titleSyntax
linenumberstrue
dayOfTheWeekToString(number ttimestamp, timeZone time_zone, language) #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
dayOfTheWeekToString({issue.duedate}, LOCAL, USER_LANG)


This function returns the day of the week as text.


UI Text Box
typeinfo

If the due date was set to March 25th, 2011 23:15 and the user's Jira language was set to English the output would be Friday.




Work days might depend on the time zone - it might be Sunday on the west coast of the US while at the same time it's already Monday in Australia. 
UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
timeZone

Status
subtletrue
titletimezone

The time zone used for the calculation. 

Expand
titleLearn more about timezones
Excerpt Include
Dates, times and time zonesDates, times and time zones
nopaneltrue
language<parameter>

Status
subtletrue
title

data typeParameter description.
UI Text Box
typetip

language




UI Expand
titleOutput

The function returns a

Status
subtletrue
titletext