Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-High Target-2.8.4
New issue 1619 by pekka.klarck: New standard library for date and time
handling
http://code.google.com/p/robotframework/issues/detail?id=1619
This library should have at least following features:
1) Converting time stamps like '2014-01-02 18:42:01.123' (format should be
somehow configurable) to seconds since Unix epoch (and possibly also to
Python's DateTime objects). Also opposite conversion should be supported.
2) Converting time strings like '1 hour 2 minutes 3.45 seconds' to seconds
(and possibly to Python's TimeDelta objects). Also opposite conversion
should be supported.
3) Calculating between time stamps and time strings. For
example, '2014-01-02 18:42:01.123 - 2013-12-24 00:42:00.123' or '2014-01-02
18:42:01.123 + 1 day 2 hours'.
4) Comparing time stamps and time strings.
5) Validating time stamps and time strings.
This library would be handy in test data and could also be used by test
libraries that want to support "Robot's time format" or need date/time
handling otherwise. Both usages happen to be important for teams at NSN.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.