Salesforce admins: Urgent action required!

Calendar: Difference between revisions

Jump to navigation Jump to search
Line 74: Line 74:


For the string Calendar.DayLabelFmt, the formatting is a bit more complicated. Just like above, <code>{1}</code> is the week number. <code>{0}</code> is the date, but special rules apply:
For the string Calendar.DayLabelFmt, the formatting is a bit more complicated. Just like above, <code>{1}</code> is the week number. <code>{0}</code> is the date, but special rules apply:
* If the date is today, the day before, or after, the strings "Today", "Yesterday", and "Tomorrow" are used. You can localize the strings Calendar.FmtYesterday, Calendar.FmtToday a Calendar.FmtTomorrow.
* If the date is today, the day before, or after, the strings "Today", "Yesterday", and "Tomorrow" are used. You can localize these strings using Calendar.FmtYesterday, Calendar.FmtToday a Calendar.FmtTomorrow.
* For other dates, the format is hardcoded as "name of the day, date".
* For other dates, the format is hardcoded as "name of the day, date". You can override the format using the string Calendar.FmtDay.
* You can override the format using the string Calendar.FmtDay.


== Calendar in the app ==
== Calendar in the app ==

Navigation menu