Closed GoogleCodeExporter closed 9 years ago
Over at the datejs wiki, a programmer posted some code to invoke datejs in a
way that the "tomorrow 8am" format will give a good result. Maybe
gmail-delay-send could use this method to produce a better result. Here is the
link:
https://groups.google.com/forum/?fromgroups=#!topic/datejs/YUGsQplVZHI
Original comment by barry.t...@gmail.com
on 21 Nov 2012 at 6:11
Thanks for the pointer barry.troy!
Just starting to work on the next version of gmail-delay-send and will be sure
to include this code snippit:
Replace
g._start = _.process(_.set([ g.date, g.time, g.expression ],
g.generalDelimiter, g.whiteSpace), t.finish);
with
g._start = _.process(_.set([ g.date, g.time, g.expression,
g.expression ],
g.generalDelimiter, g.whiteSpace), t.finish);
It would most probably be more elegant to redefine the double
g.expression with two more distinct parsers, but this quick solution
did it for me. Hope it also helps someone else.
Original comment by blairk...@gmail.com
on 15 Feb 2013 at 3:10
Also, removed the 'tomorrow, 5pm' example from the wiki to avoid future
confusion.
Original comment by blairk...@gmail.com
on 15 Feb 2013 at 3:11
Issue 51 has been merged into this issue.
Original comment by blairk...@gmail.com
on 15 Feb 2013 at 3:24
Issue 53 has been merged into this issue.
Original comment by blairk...@gmail.com
on 15 Feb 2013 at 3:24
Tried making the change in datejs suggested above, but neither 'tomorrow, 10pm'
or 'tomorrow 10pm' seem to work.
b/c this is a datejs issue, I'm going to mark as a WontFix. I would open a bug
against datejs, but it appears that there isn't any active development on that
project so might not make much of a difference unless you want to try to fix it
yourself.
Thanks for checking out the project!
Original comment by blairk...@gmail.com
on 18 May 2013 at 8:50
Original issue reported on code.google.com by
m...@prestile.com
on 26 Jul 2012 at 9:39