Class MobileFormatter
Consolidated class for common string formatting and parsing functions.
-
Formatter
-
MobileFormatter
Methods summary
public static
|
#
formatDateRelative( mixed $timestamp )
Format date relative to now (or use short format if date is more than 52
weeks in the past)
Format date relative to now (or use short format if date is more than 52
weeks in the past)
|
Methods inherited from Formatter
castReplacementTokenTypes(),
convertLineBreaks(),
deCamelCase(),
formatAMPM(),
formatCompleteDate(),
formatCurrency(),
formatDate(),
formatDateDynamic(),
formatDateEndOfDay(),
formatDatePicker(),
formatDateTime(),
formatDueDate(),
formatFeedTimestamp(),
formatLongDate(),
formatLongDateTime(),
formatTime(),
formatTimeInterval(),
formatTimePicker(),
fullName(),
fullNameSelect(),
getPlainAbbrMonthNames(),
getReplacementTokens(),
isFormula(),
isShortcode(),
isThisYear(),
isToday(),
mbSanitize(),
parseCurrency(),
parseDate(),
parseDateTime(),
parseEmail(),
parseFormula(),
replaceVariables(),
restoreInsertableAttributes(),
secondsToHours(),
timestampAge(),
trimText(),
truncateText(),
typeCast(),
ucwordsSpecific(),
yiiDateFormatToJQueryDateFormat()
|