Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1034] Alloy : Incorrect month value used in generated file names, e.g. migrations

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2014-05-30T18:08:03.000+0000
Affected Version/sAlloy 1.3.1
Fix Version/sAlloy 1.5.0
Componentsn/a
Labelsalloy-cli, alloy-generate, community, qe-manualtest
ReporterJeff Antram
AssigneeTim Poulsen
Created2014-05-30T14:22:49.000+0000
Updated2014-08-26T00:26:45.000+0000

Description

Generated migration filenames have the incorrect month value. (i.e. January = 0) $ alloy generate migration MyCollection Alloy 1.3.1 by Appcelerator. The MVC app framework for Titanium. [INFO] Generated migration named 2014 *04* 301417826_MyCollection Month should be 05 / May

Comments

  1. Jeff Antram 2014-05-30

    Fixed in PR 403 https://github.com/appcelerator/alloy/pull/403
  2. Ritu Agrawal 2014-05-30

    Jeff - Good catch and thank you for the pull request. Moving this to engineering as I can reproduce the issue with the provided test steps.
  3. Tim Poulsen 2014-05-30

    PR tested and merged
  4. Ewan Harris 2014-08-26

    Verified fix on: Mac OSX 10.9.4 Appcelerator Studio, build: 3.4.0.201408210941 Titanium SDK build: 3.4.0.v20140813022514 Titanium CLI, build: 3.4.0-dev Alloy: 1.5.0-dev Used command alloy generate migration MyCollection and the file generated was named 201408260009768_MyCollection , 08 is the correct month value. Closing ticket.

JSON Source