mirror of
https://github.com/ushahidi/SMSSync.git
synced 2026-04-26 00:05:57 +03:00
[GH-ISSUE #179] sent_timestamp is not unix time format compliant #134
Labels
No labels
Bug report
Code improvement
Concern
Feature request
Feature request
Good first issue to work on
In progress
Needs info
Question
Ready
Translation
User Experience
User Experience
Website
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SMSSync#134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @redbullpeter on GitHub (Jun 22, 2014).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/179
The sent_timestamp that is being sent is not in the correct unix time format.
For example the time returned today was: 1403438526000
If you convert this strictly, assuming 64 bit time stamp, then the date would be: 13/03/46443 11:00:00 GMT
The time stamp should actually be: 1403438526
Which converts to: 22/06/2014 12:02:06 GMT
Millisecond accuracy should be represented as 1403438526.000
@kkanigowski commented on GitHub (Jul 7, 2014):
@eyedol, Is this timestamp still a problem ? If it is necessary, I will convert it to unix timestamp.
@mandric commented on GitHub (Jul 7, 2014):
How hard is it to do timestamp/1000 if you want a unix timestamp (seconds from epoch) with a decimal for ms? I see no reason to change this, it would require all servers to update their code, if anything just change the documentation to state the timestamp is milliseconds from epoch.
@KamilKalfas commented on GitHub (Jul 9, 2014):
@eyedol I think that both of us agrees with Milan. There is no need to make such change on client side. In this case it's not a valid issue.
@eyedol commented on GitHub (Jul 12, 2014):
@KamilKalfas I agree. We don't even have control over that value
@mandric commented on GitHub (Jul 12, 2014):
In the future if the timestamp from Android API changes we might introduce a function so we can maintain the ms from epoch format as a standard value. @redbullpeter I think we can close this issue ?
@sorinpohontu commented on GitHub (Apr 21, 2015):
@eyedol I think you can close this issue for 2.8.0.
@emerick-pro commented on GitHub (Mar 18, 2018):
Hello !
I am sorry to raise the issue when this was closed. I am having the issue of the timestamp from Android SMSSync that is always the same value (2147483647). I am building the application using PHP
And every time I am receiving the same value. 2147483647. Can you please help to figure out the cause or the solution?