[haiku-commits] Re: haiku: hrev50905 - in src/apps/haikudepot: server model tar util .
- From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Tue, 31 Jan 2017 08:29:35 +0000
31 janvier 2017 09:24 "Andrew Lindesay" <apl@xxxxxxxxxxxxxx> a écrit:
+/* The output format for this is suitable for use in the "If-Modified-Since"
+ * header. An example of this output would be;
+ * 'Fri, 24 Oct 2014 19:32:27 +0000'
I think this is already implemented in BHttpDate.
I wasn't able to find that class in the system. Can you let me know
specifically where that might be and I'll take another look.
Sorry, the correct name is BHttpTime, and it is in private/net:
You give it a date as a BString and get a BDateTime from Parse().
We may need to rework BDateTime a little to allow comparisons and other date
math, I don't remember how far I went with that.
Other related posts: