Location: CellService.getCell

Discussion: Date/Time format for last edited timeReported This is a featured thread

Showing 3 posts

wishpot
Date/Time format for last edited time
Nov 15 2008, 10:43 PM EST | Post edited: Nov 15 2008, 10:43 PM EST
Is there a way to adjust the date format that comes back for the "last edited time" on a per-call basis? Our users (viewers) are going to be in different time zones.

In addition, is there a way we can force it to return the date without the time? That would at least be cache-able (unlike phrases such as "5 minutes ago") .

Thanks!
Do you find this valuable?    
Keyword tags: time timezone
boe_wetpaint
boe_wetpaint
1. RE: Date/Time format for last edited time
Nov 18 2008, 3:23 PM EST | Post edited: Nov 18 2008, 3:23 PM EST
Hello,

Which of our APIs are you using to return date/time information?

Timezone in Injected is set at the namespace level. You cannot set timezone per cell, but that is metadata that you could store locally in your own database. From there, you can convert the time to the apporopriate timezone.

Let me know which API you are using so I can better assist you.

boe_wetpaint
Do you find this valuable?    

wishpot
2. RE: Date/Time format for last edited time
Nov 18 2008, 9:24 PM EST | Post edited: Nov 18 2008, 9:24 PM EST
"Which of our APIs are you using to return date/time information?
"
getCell returns the time pre-formatted next to "Last update:" For a while it shows relative times (like "5 minutes ago") and then slides back to, I suppose, the namespace-level timezone.

I probably don't understand the usefulness of timezone at the namespace level, since my concern is about presenting timezones to our end-users who are all in different timezones.
Do you find this valuable?