Convenience functions for dealing with timestamps

Bug #570148 reported by Mikkel Kamstrup Erlandsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libzeitgeist
Fix Released
Wishlist
Mikkel Kamstrup Erlandsen

Bug Description

It would be nice with a few convenience functions for dealing with timestamps. Like:

gint64 zeitgeist_timestamp_for_now()
gint64 zeitgeist_timestamp_add_seconds (gint64 ts, gint hours)
gint64 zeitgeist_timestamp_add_minutes (gint64 ts, gint days)
gint64 zeitgeist_timestamp_add_hours (gint64 ts, gint hours)
gint64 zeitgeist_timestamp_add_days (gint64 ts, gint days)
gint64 zeitgeist_timestamp_from_iso8601 (const gchar datetime)

Related branches

Changed in libzeitgeist:
importance: Undecided → Wishlist
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
status: New → Triaged
Changed in libzeitgeist:
milestone: none → 0.1.0
Changed in libzeitgeist:
status: Triaged → In Progress
Changed in libzeitgeist:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.