gnome-shell/js
Florian Müllner ebf132770e util: Add formatTime() helper method
Displaying a time is more complex than it appears at first glance:
it should respect the user's choice regarding 12- our 24-hour format (but
only when supported by the locale) and follow the LC_TIME rather than the
LC_MESSAGES setting.
So rather than getting it more or less right in various places, it makes
sense to defer to a helper method which hopefully does the right thing. The
method added by this patch is based on _formatTimestamp in telepathyClient
with some minor tweaks:
 - there's an additional params parameter which allows enforcing
   a time-only format, even on dates other than the current one
 - only a single desktop settings object is created and shared between
   invocations

https://bugzilla.gnome.org/show_bug.cgi?id=745111
2015-03-04 13:55:01 +01:00
..
extensionPrefs extensionPrefs: Improve handling of OutOfDate extensions 2014-09-06 22:06:23 +02:00
gdm gdm: prevent nextSignalId from being connected multiply times 2015-02-26 15:45:12 -05:00
misc util: Add formatTime() helper method 2015-03-04 13:55:01 +01:00
perf Revert accidental commit "Test stuff" 2014-09-03 13:47:18 -04:00
portalHelper PortalHelper: Make translator comment appear 2015-01-28 13:47:56 +01:00
ui appDisplay: Disable scrolling during animations 2015-03-04 13:45:26 +01:00
js-resources.gresource.xml legacyTray: Add a hideable tray for legacy status icons 2015-03-03 19:14:49 +01:00
Makefile.am js/Makefile.am: Fix dependency generation with srcdir != builddir 2014-06-29 18:27:53 -04:00