D11242: Add choice of date formats

Stefan BrĂ¼ns noreply at phabricator.kde.org
Fri Apr 6 18:04:44 BST 2018


bruns added a comment.


  In D11242#241285 <https://phabricator.kde.org/D11242#241285>, @michaelh wrote:
  
  > What is puzzling me even more: The locale seems to change with the file. !!???!!
  
  
  Only pattern I could see - the english ones are CEST, the localized ones are CET or UTC.

INLINE COMMENTS

> widgetfactory.cpp:141
>              if (dt.isValid()) {
> +                QLocale::FormatType dateFormat = m_dateFormat == Baloo::DateFormats::ShortFormat
> +                    ? QLocale::ShortFormat

make m_dateFormat QLocale::FormatType and move the conversion to the getter/setter.

REPOSITORY
  R824 Baloo Widgets

REVISION DETAIL
  https://phabricator.kde.org/D11242

To: michaelh, #baloo, #dolphin
Cc: bruns, ngraham, ashaposhnikov, astippich, spoorun, alexeymin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180406/e9a6782a/attachment.htm>


More information about the kfm-devel mailing list