& date +%D

Should we go on?

If you want the date as you format it : date +%d/%m/%Y

@purplecabbage
risingj.com

On Wed, Apr 15, 2015 at 2:12 PM, Michal Mocny <mmo...@chromium.org> wrote:

> I'm with Ian.. I don't think every user of cordova wants output in the form
> you desire, so you will be much better off wrapping the output with a
> script that does exactly what you need.
>
> -Michal
>
> On Wed, Apr 15, 2015 at 4:58 PM, Willy Aguirre <marti1...@gmail.com>
> wrote:
>
> > is more easy something like this:  15/04/2015 - Total time: 12 seconds
> >
> > BUILD SUCCESSFUL
> > Total time: 12 seconds
> > Built the following apk(s):
> >
> >
> >
> G:\SIICEX-Rutas-Phonegap\siicex-rutas\platforms\android\ant-build\CordovaApp-debug.apk
> > The current date is: 15/04/2015
> > Enter the new date: (dd-mm-yy) <---- ?
> >
> > Can I send a PR about this change ?
> >
> >
> > 2015-04-15 15:35 GMT-05:00 Ian Clelland <iclell...@chromium.org>:
> >
> > > This is a general issue with command line tools, but can be solved in a
> > > consistent way. I'll usually do something like this:
> > >
> > >     cordova build android && date
> > >
> > > As output, I see:
> > >
> > > ...
> > > BUILD SUCCESSFUL
> > >
> > > Total time: 31.314 secs
> > > Built the following apk(s):
> > >
> > >
> >
> /Users/iclelland/test/platforms/android/build/outputs/apk/android-debug.apk
> > > Wed Apr 15 16:33:30 EDT 2015
> > >
> > > Does that work for you?
> > >
> > >
> > > On Wed, Apr 15, 2015 at 4:21 PM, Willy Aguirre <marti1...@gmail.com>
> > > wrote:
> > >
> > > > I have:
> > > > cordova -version
> > > > 4.2.0
> > > >
> > > > I am working with android platform but I need to know when it built
> > > > {12:39:44 - }
> > > >
> > > > 2015-04-15 15:12 GMT-05:00 Michal Mocny <mmo...@chromium.org>:
> > > >
> > > > > ..we already have this?
> > > > >
> > > > > > cordova build android
> > > > > ...
> > > > > BUILD SUCCESSFUL
> > > > > Total time: 6 seconds
> > > > > Built the following apk(s):
> > > > >
> > > > >
> > > > > Perhaps some platforms don't?  Perhaps older build scripts don't?
> > > > >
> > > > > -Michal
> > > > >
> > > > > On Wed, Apr 15, 2015 at 3:53 PM, Willy Aguirre <
> marti1...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Hi, I would like to add time after build
> > > > > >
> > > > > > BUILD SUCCESSFUL
> > > > > > 12:39:44 - Total time: 17 seconds
> > > > > >
> > > > > > Built the following apk(s):
> > > > > >
> > > > > > Regards!
> > > > > >
> > > > > > --
> > > > > > Willy Aguirre | @willrre
> > > > > > Blog: http://osgux.tumblr.com/
> > > > > > Mozilla Rep: https://reps.mozilla.org/u/Willy/
> > > > > > Mozilla Hispano - Willyaguirre
> > > > > > <
> > https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Willy Aguirre | @willrre
> > > > Blog: http://osgux.tumblr.com/
> > > > Mozilla Rep: https://reps.mozilla.org/u/Willy/
> > > > Mozilla Hispano - Willyaguirre
> > > > <https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
> > > >
> > >
> >
> >
> >
> > --
> > Willy Aguirre | @willrre
> > Blog: http://osgux.tumblr.com/
> > Mozilla Rep: https://reps.mozilla.org/u/Willy/
> > Mozilla Hispano - Willyaguirre
> > <https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
> >
>

Reply via email to