Versions Compared

Key

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


Page properties
hiddentrue



Status
Tech review

Status
colourYellowGreen
titleReady for reviewdone

Style guide

Status
colourYellowGreen
titleReady for reviewdone

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



Page properties
hiddentrue


Short description

Returns the day of the week of any given timestamp in text form.

Output

Status
subtletrue
titletext




UI Text Box
sizemedium
typeinfo

This function returns the day of the week of any given timestamp in text form.


Code Block
languagebash
titleSyntax
linenumberstrue
dayOfTheWeekToString(timestamp, timeZone, 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.

Info
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.




UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
timeZone

Status
subtletrue
titletimezone

The time zone used for the calculation. 

language

Status
subtletrue
titlelanguage

The language used for the calculation.



UI Expand
titleOutput

The function returns a

Status
subtletrue
titletext


UI Text Box
typetip

If you need the day of the week as number you might want to use dayOfTheWeek()