gs.minutesAgo with TZ consideration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2011 03:21 PM
gs.minutesAgo(-10) returns time in UTC format when used on a field in a template. It would be nice if there were some TZ consideration in a few new [period]Ago methods. Try these out in a date field on a template and apply the template:
javascript:gs.nowDateTime()
javascript:gs.minutesAgo(-10)
Notice the minutesAgo is in UTC while nowDateTime is local time.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2011 07:09 AM
Did you find a neat way to do this ? I simply want to set a date field is a template to "javascript:gs.daysAgo(-7)" but can't get it to work. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2015 09:51 AM