Giter VIP home page Giter VIP logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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 [email protected] on 21 Nov 2012 at 6:11

from gmail-delay-send.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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 [email protected] on 15 Feb 2013 at 3:10

  • Changed state: Accepted

from gmail-delay-send.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Also, removed the 'tomorrow, 5pm' example from the wiki to avoid future 
confusion.

Original comment by [email protected] on 15 Feb 2013 at 3:11

from gmail-delay-send.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Issue 51 has been merged into this issue.

Original comment by [email protected] on 15 Feb 2013 at 3:24

from gmail-delay-send.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Issue 53 has been merged into this issue.

Original comment by [email protected] on 15 Feb 2013 at 3:24

from gmail-delay-send.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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 [email protected] on 18 May 2013 at 8:50

  • Changed state: WontFix

from gmail-delay-send.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.