[chromium-dev] Re: date and time storage
Oh, thanks a lot. You've helped me. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: date and time storage
Unfortunately, despite it being called ToInternalValue it has been used in places where (at least some) people argue we want cross-platform portability. So I think you should assume the Windows format is the format used on all platforms, even though it's not quite true yet. http://code.google.com/p/chromium/issues/detail?id=14734 On Thu, Aug 13, 2009 at 3:40 PM, Antony Sargentasarg...@google.com wrote: You can probably find the answer somewhere in http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/history/ In particular, it looks like visit_database.cc uses Time::ToInternalValue(). Have a look at: http://src.chromium.org/viewvc/chrome/trunk/src/base/time.h and the various platform dependent time_{win,mac,posix}.cc files to understand the meaning of the value represented. On Wed, Aug 12, 2009 at 6:56 AM, Roman roman.brodet...@gmail.com wrote: hello! I'm developing utility what can be used to synchronize and organize history records in different browsers. And there is a problem I can't solve: I can't extract last visit time and date from Chrome's SQLite database. What is the format of this field? And how do I extract it? --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: date and time storage
Also, note that there's no guarantee we won't change this representation in the future. There is a proposed history API for our in-development extensions system, but it's not implemented yet: http://dev.chromium.org/developers/design-documents/extensions/history-api http://dev.chromium.org/developers/design-documents/extensions/history-api On Thu, Aug 13, 2009 at 3:40 PM, Antony Sargent asarg...@google.com wrote: You can probably find the answer somewhere in http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/history/ http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/history/In particular, it looks like visit_database.cc uses Time::ToInternalValue(). Have a look at: http://src.chromium.org/viewvc/chrome/trunk/src/base/time.h and the various platform dependent time_{win,mac,posix}.cc files to understand the meaning of the value represented. On Wed, Aug 12, 2009 at 6:56 AM, Roman roman.brodet...@gmail.com wrote: hello! I'm developing utility what can be used to synchronize and organize history records in different browsers. And there is a problem I can't solve: I can't extract last visit time and date from Chrome's SQLite database. What is the format of this field? And how do I extract it? --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: date and time storage
You can probably find the answer somewhere in http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/history/ http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/history/In particular, it looks like visit_database.cc uses Time::ToInternalValue(). Have a look at: http://src.chromium.org/viewvc/chrome/trunk/src/base/time.h and the various platform dependent time_{win,mac,posix}.cc files to understand the meaning of the value represented. On Wed, Aug 12, 2009 at 6:56 AM, Roman roman.brodet...@gmail.com wrote: hello! I'm developing utility what can be used to synchronize and organize history records in different browsers. And there is a problem I can't solve: I can't extract last visit time and date from Chrome's SQLite database. What is the format of this field? And how do I extract it? --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---