Replies: 2 comments
-
While present in Master, a new release has not been made yet.
Here is an example that demonstrates its use that matches the old
Note that it supports time zone adjustments to GMT/zulu time if your string has a time zone code and you supplied the format with a matching time-zone token ('z', 'zzz'); The matching is done using English with only the US time-zones are present in the table. To use English but with a comprehensive global list, use RtcLocalEn template argument like
Note: Due to some abbreviation collisions, the current RtcLocalEn is arbitrary in which is included, so it is recommended that you copy it and modify it to your needs.
The format tokens are as follows: |
Beta Was this translation helpful? Give feedback.
-
now active in v2.4.0 |
Beta Was this translation helpful? Give feedback.
-
I am working on a general purpose parser for date/time strings to RtcDateTime.
If you have had the need or have code already to do this, could you share the actual string you parse. Not the code, just the string, like "Sat, 06 Dec 2009 12:34:56 GMT".
I want to build up a reasonable collection of test data with example "format" specifiers.
Beta Was this translation helpful? Give feedback.
All reactions