Versions Compared

Key

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

...

JavaScript Date & Time Formatting

THis is a list of Please find common date & time placeholders for formatting, basically used for all JS picker formats in JIRA., below:

PlaceholderDescriptionRemarks
%areplaced by the locale's abbreviated weekday name 
%Areplaced by the locale's full weekday name 
%breplaced by the locale's abbreviated month name 
%Breplaced by the locale's month name 
%dreplaced by the day of the month as a decimal number [01..31] 
%ereplaced by the day of the month as a decimal number [1..31], leading space pad 
%Fequivalent to %Y-%m-%d (ISO-8601 date format) 
%Hreplaced by the hour (24-h clock) as a decimal number [00...23] 
%Ireplaced by the hour (12-h clock) as a decimal number [01..12] 
%kreplaced by the hour (24-h clock) as a decimal number [0..23] 
%lreplaced by the hour (12-h clock) as a decimal number [1..12] 
%mreplaced by the month as a decimal number [01..12] 
%Mreplaced by the minute as a decimal number [00..59] 
%preplaced by the locale's equivalent of either a.m. or p.m. 
%Psame as %p but forced lower case 
%Requivalent to %H:%M 
%Sreplaced by the second as a decimal number [00..59] 
%Tequivalent to %H:%M:%S 
%wreplaced by the weekday as a decimal number [0..6] 
%yreplaced by the last two digits of the year as a decimal number [00..99] 
%Yreplaced by the year as a decimal number (e.g. 2009) 

...