[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KF5: Parsing times with timezone abbreviations
From: Luca Beltrame <lbeltrame () kde ! org>
Date: 2014-03-24 9:39:17
Message-ID: lgoufm$ioq$1 () ger ! gmane ! org
[Download RAW message or body]
Kevin Kofler wrote:
> In kdelibs 4, this should do what we want:
> dateTime = KDateTime::fromString(timeString, "%H:%M
> %Z").toLocalZone().dateTime(); but KDateTime is deprecated in KF5.
Can you try looking at KFormat? The KF5 porting notes explicitly mention
that.
--
Luca Beltrame - KDE Forums team
KDE Science supporter
GPG key ID: 6E1A4E79
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic