MCPcopy Create free account
hub / github.com/GNOME/gnome-shell / formatDateWithCFormatString

Function formatDateWithCFormatString

js/misc/dateUtils.js:41–45  ·  view source on GitHub ↗
(date, format)

Source from the content-addressed store, hash-verified

39 * @returns {string}
40 */
41export function formatDateWithCFormatString(date, format) {
42 const dt = _convertJSDateToGLibDateTime(date);
43
44 return dt?.format(format) ?? '';
45}
46
47/**
48 * Formats a time span string representing the

Callers 7

setDateMethod · 0.90
_updateTitleMethod · 0.90
_formatEventTimeMethod · 0.90
_buildHeaderMethod · 0.90
_rebuildCalendarMethod · 0.90
_updateMethod · 0.90
_updateClockMethod · 0.90

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…