ColdFusion Timezone Bug?

I'm working with values of time in seconds and I've come across an odd bug and I'm hoping someone might explain if this is a bug or if this is some kind of timezone issue. I have code which calculates the difference, in seconds, between two fixed dates. ColdFusion gives me one answer, native Java methods give me a different answer. The difference is one hour which makes me think this is somehow related to timezone, but I can't figure out how to properly correct for this.
Any insight would be greatly appreciated.
Here's my sample code:
<cfset variables.TimeZone = CreateObject( "java", "java.util.TimeZone" ) />
<cfset variables.Calendar = CreateObject( "java", "java.util.Calendar" ).getInstance( variables.TimeZone.getTimeZone( "GMT" )) />
<cfset variables.Calendar.set( 2010, 6, 20, 15, 40, 0 ) />
<h1>Seconds from 01/01/1970 12:00 AM to 07/20/2010 3:40 PM</h1>
<p>
    According to Java:
    <cfoutput>#Int( variables.Calendar.getTimeInMillis() / 1000 )#</cfoutput>
</p>
<p>
    According to ColdFusion:
    <cfoutput>#DateDiff( "s", "01/01/1970 12:00 AM", "07/20/2010 3:40 PM" )#</cfoutput>
</p>

what tz is the cf server in? not
UTC i take it? on the server i'm working on today the tz is ITC (no DST)
& i get:
According
to Java: 1279640400
According to ColdFusion: 1279640400
using your
snippet.
maybe
this http://bit.ly/a9ZXss
will have some insight for you.
So if ColdFusion treats dates and times as in the local timezone, and my local timezone has DST, then I need to check and correct for that. And there's no simple (by "simple", I mean a native ColdFusion function that can handle this difference) solution?
So I need to employ something like this:
<cfset variables.timeDiff = DateDiff( "s", "01/01/1970 12:00 AM", "07/20/2010 3:40 PM" ) />
<cfif GetTimeZoneInfo().isDSTon IS TRUE>
    <cfset variables.timeDiff = variables.timeDiff + 3600 />
</cfif>
<p>
    According to ColdFusion (Adjusted):
    <cfoutput>#variables.timeDiff#</cfoutput>
</p>
Which works. I just with there was something native to CF that could handle dates outside of local timezone rules.

Similar Messages

  • J2sdk 1.4 Timezone bug?

    Set timezone to be GMT and run this piece of code in j2sdk1.4,
         System.out.println(
           "ZONE_OFFSET 1: " + ((new GregorianCalendar()).get(Calendar.ZONE_OFFSET))
         System.out.println(
           "ZONE_OFFSET 2: " +
           ((new GregorianCalendar(1970, 0, 1)).get(Calendar.ZONE_OFFSET))
         System.out.println(
           "ZONE_OFFSET 3: " +
           ((new GregorianCalendar(1971, 9, 30)).get(Calendar.ZONE_OFFSET))
         System.out.println(
           "ZONE_OFFSET 4: " +
           ((new GregorianCalendar(1971, 10, 1)).get(Calendar.ZONE_OFFSET))
         System.out.println(
           "ZONE_OFFSET 5: " +
           ((new GregorianCalendar(1972, 0, 1)).get(Calendar.ZONE_OFFSET))
         );It will print:
    ZONE_OFFSET 1: 0
    ZONE_OFFSET 2: 3600000
    ZONE_OFFSET 3: 3600000
    ZONE_OFFSET 4: 0
    ZONE_OFFSET 5: 0while in jdk1.3, it prints correct answers:
    ZONE_OFFSET 1: 0
    ZONE_OFFSET 2: 0
    ZONE_OFFSET 3: 0
    ZONE_OFFSET 4: 0
    ZONE_OFFSET 5: 0Another strange thing is that in other timezone such as US EST, j2sdk1.4 will print the correct numbers after running the above code:
    ZONE_OFFSET 1: -18000000
    ZONE_OFFSET 2: -18000000
    ZONE_OFFSET 3: -18000000
    ZONE_OFFSET 4: -18000000
    ZONE_OFFSET 5: -18000000It seems to be a bug in j2sdk1.4.
    Help is appreciated.

    There is no "default offset" for a Calendar. The
    zone offset depends on the default time zone. The default zone in turn depends
    on the host zone. There is no reason to expect the value of
    Calendar.get(ZONE_OFFSET) to necessarily remain constant between releases or
    even between machines in the same release or between runs on the same machine.

  • E61 timezone bug!!!

    Hi, there seems to definitely be a bug in the E61 firmware 3.0633.09.04 in regard to the timezone for USA->Phoenix.
    How do I report this or find out if there is a patch?
    Basically, United States/Phoenix has GMT-0 rather than GMT-7. Previous firmwares did not have this problem.
    Help!!!!!!
    Dennis

    It's very hard to find it... http://europe.nokia.com/A4164022?url=http://nds1.nokia.com/phones/files/software/Nokia_E61_​WorldClockUpdate.SIS
    Cheers

  • Outlook Calendar Timezone bug

    I am having an issue with displaying the time on the calendar after the daylight saving apply to the Pacific Timezone.
    I have Outlook Version 14.0.7113.5005 (32-bit) installed on the Window 7 32 bit machine.
    I tried the Time Zone Daylight Saving Update Tool that Microsoft provided, but it doesn't seem like it works for me.
    Anyone have an idea on how to solve this issue?
    Thanks.

    Hi,
    First please make sure your Windows and Office are both fully patched.
    I also suggest you confirm that the time zone settings for your computer's system clock and your Outlook Calendar are the same.
    Regards,
    Melon Chen
    TechNet Community Support

  • Coldfusion 8 Bug or What?

    I don't know if this is a bug but am at a loss of words.
    Installed CF8 or CF7. The installer asked me to remove CF7 post
    installed.
    Removed CF7 from the Server as instructed. Well, the problems
    is CF8
    (CFIDE) folder overwrote the CF7
    (CFIDE) folder, as expected.
    But when I uninstalled CF7, it removed the CF8
    (CFIDE) folder; which was needed. So I am stuck without a
    CF8 administrator and I really hate to reinstall CF8 just for the
    (CFIDE) folder. Any suggestions?
    Nutshell, if upgrading to 8 from 7, please backup your
    (CFIDE) folder after you have installed 8. You will need the
    administrator
    ADOBE!

    i believe it is possible for cfide dir to be overwritten in
    the iis
    webroot if the new cf version is also associated with same
    iis during
    install...
    nevertheless, the new cf version's cfide folder should still
    be in the
    default install directory. with cf8 it is
    C:\ColdFusion8\wwwroot\CFIDE
    same goes for cfdocs folder, too...
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Iphone Time/Timezone bug.

    I have an Iphone that is having some odd time bug. It appears to wind up 15-20 minutes behind, and when I toggle "Set Automatically" in Date & Time it will go five or so hours behind then correct itself to the proper time, then eventually wind up minutes behind again. The person is hesitant to restore their phone because they will lose some content. Any idea what could be causing the issue? The phone is a Iphone 5c with Ios 7.1.1.

    Is iPhone hacked?
    The time is sync with the cell tower, try a
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data
    If no joy that person should do
    Restore from backup
    or
    Restore as new
    http://support.apple.com/kb/HT1414

  • Request fix for timezone related bugs

    To Adobe Lightroom employees...
    Even the new release of LR3 still has age old timezone bugs which are likely infuriating for anyone who shoots in more than a single timezone.
    Problem 1: LR ignores camera metadata relating to timezone.
    Solution 1: Include a time/date panel in the importer dialog. If camera metadata is present, use it to set defaults. Provide options for shifting both the time and the timezone (e.g. can shift 2010-01-01T01:05:06+01:00 to become 2010-01-01T01:02:03-02:00). This info can be stored in LR database and in exported XMP data.
    Problem 2: LR exports incorrect timezone data.
    Solution 2: Due to EXIF limitations this cannot be guaranteed correct. Provide an option to export EXIF date/time using a specified timezone (origination/computer/other).
    Other problems: File renaming issues relating to timezones, sorting in grid view, etc.
    Solutions: If every file has an assigned timezone, all these should become moot points, as information is held to get it right.
    The bottom line is that most timezone issue have been present since Lightroom was initially released, and numerous people are frustrated with having purchased a leading product with a glaring set of bugs which corrupt valuable metadata, and interrupt workflow. Providing fixes for these bugs and facilities for handling them sensibly and gracefully, along with default options to provide the current behaviors, allows for the best of both worlds. Date/time are key bits of metadata for any photo, and an inability to handle this properly in one of the leading brands of software is, quite frankly, inexcusable. New features keep being included, yet important basic functionality such as this gets left aside; please prioritize this for the next release to appease many long-suffering, paying customers.
    Stan

    I too wish that Lightroom would handle date/times with time zones and let users manipulate them.  LR 3 consistently ignores time zones; see this post for details:
    http://forums.adobe.com/message/2931846#2931846
    I think the root cause of this mess is that the EXIF standard, defined in 1998, doesn't support time zones (hard to believe that a standards committee would make such a basic mistake).  Even though Adobe's XMP standard requires the use of time zones, LR ignores them!

  • CFWINDOW and a form submit not working as expected

    Hello, everyone.
    I currently have a page that allows certain users the ability to edit content directly, without having to log on to a CMS; the user can click an edit button if they have permission which will open a CFWINDOW that contains the pre-populated form for editing.
    If I open the form directly in a browser (IE7 on WinXP SP3) and click the submit button, all is well.
    However, when I use the EDIT link and open the form in the CFWINDOW, clicking submit will post all form data EXCEPT the input="file"; upon submit, I get an error saying that the field for file doesn't exist.
    Any idea what could be causing this?
    Thanks,
    ^_^
    PS.  If required, I can post some code; but I cannot provide a link as this is on a private internal network that the public does not have access to.

    Here's the code I have, thus far.
    Main webpage (this calls the CFWINDOW):
    <cfoutput>
         <div class="more-info">
         [<a href="javascript:void(0);" onclick="windowModal('Edit_NU','#trim(url.thisNav)#',500,700,'Edit News & Updates - #ucase(url.thisNav)#','edit_nu.cfm?thisNav=#trim(url.thisNav)#',true)">edit</a>]
         </div>
    </cfoutput>
    windowModal function:
    function windowModal(win_name,TID,h,w,t,f,m){
         var windowName = typeof win_name === 'undefined' ? 'CFWindowName' : win_name;
         var thisID = typeof TID === 'undefined' ? 0 : TID;
         var thisHeight = typeof h === 'undefined' ? 400 : h;
         var thisWidth = typeof w === 'undefined' ? 700 : w;
         var thisTitle = typeof t === 'undefined' ? "_" : t;
         var thisDocument = typeof f === 'undefined' ? "faq.cfm?faqID="+thisID+"" : f;
         var thisModal = typeof m === 'undefined' ? true : m;
         ColdFusion.Window.create(windowName,
              thisTitle,
              thisDocument,
              {width:thisWidth,height:thisHeight,center:true,resizable:true,modal:thisModal,draggable:thisModal});
         //ColdFusion 9 bug fix
         ob = ColdFusion.Window.getWindowObject(windowName);
        ob.center();
         ob.body.applyStyles("background-color:#fff");
         ColdFusion.Window.onHide(windowName,destroyWindow);
    function destroyWindow(name){
         ColdFusion.Window.destroy(name,true);     
    edit_nu.cfm
    <cfset client.thisNav = trim(url.thisNav) />
    <iframe src="edit_nu2.cfm" name="NU_update" width="100%"
         marginwidth="0" height="100%" marginheight="0" align="top" scrolling="No" frameborder="0" hspace="0" vspace="0">
    Your browser does not support iFrame and cannot be used for this action.
    </iframe>
    edit_nu2.cfm:
    <cfoutput query="resultset">
    <cfform action="edit_nu2.cfm?nuid=#resultset.NU_ID#&amp;thisNav=#trim(url.thisNav)#" method="post" enctype="multipart/form-data" preloader="no" format="html" onsubmit="return getFileName();">
    <cfswitch expression="#val(resultset.active_ind)#"><cfcase value="1"><cfset variables.yesChecked = 1><cfset variables.noChecked = 0></cfcase><cfcase value="0"><cfset variables.yesChecked = 0><cfset variables.noChecked = 1></cfcase></cfswitch>
    <table width="100%">
         <tr>
              <td style="width:25%; text-align:right; vertical-align:center;">Page & ID: </td>
              <td style="width:75%; text-align:left; vertical-align:top;">#client.thisNav# - #resultset.NU_ID#      Active:<cfinput type="radio" name="active_ind" value="1" checked="#val(variables.yesChecked)#" /> Y <cfinput type="radio" name="active_ind" value="0" checked="#val(variables.noChecked)#" /> N</td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Large HL: </td>
              <td style="text-align:left; vertical-align:top;"><cfinput type="text" name="large_headline" visible="true" style="width:98%;" value="#resultset.NU_large_headline#" maxlength="100" /></td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Small HL: </td>
              <td style="text-align:left; vertical-align:top;"><cfinput type="text" name="small_headline" visible="true" style="width:98%;" value="#resultset.NU_small_headline#" maxlength="50" /></td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top; height:130px;">Image: </td>
              <td style="text-align:left; vertical-align:top;"><cfif isDefined("resultset.NU_large_image") AND len(resultset.NU_large_image) gt 0><cfset variables.imageData = resultset.NU_large_image /><cfset variables.thisWidth = 300 /><cfimage action="writeToBrowser" source="#ToBinary(variables.imageData)#" width="200" /><cfelse>None</cfif></td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Upload/Replace: </td>
              <td style="text-align:left; vertical-align:top;"> </td>
         </tr>
         <tr>
              <td style="text-align:center; vertical-align:top;" colspan="2"><input type="file" name="NU_image" style="width:95%;" /><br /><input type="hidden" name="NU_image_name" /></td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Article: </td>
              <td style="text-align:left; vertical-align:top;"> </td>
         </tr>
         <tr>
              <td style="text-align:center; vertical-align:top;" colspan="2"><cftextarea richtext="yes" name="article_content" tooltip="Content" value="#resultset.NU_article_content#" style="width:97%;" height="350"></cftextarea></td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Inserted: </td>
              <td style="text-align:left; vertical-align:top; font-weight:bold;">#resultset.NU_inserted_by# on #DateFormat(resultset.NU_inserted_dttm,'mm-dd-yyyy')# #TimeFormat(resultset.NU_inserted_dttm,'hh:mm tt')# </td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Last Updated: </td>
              <td style="text-align:left; vertical-align:top; font-weight:bold;">#resultset.NU_updated_by# on #DateFormat(resultset.NU_updated_dttm,'mm-dd-yyyy')# #TimeFormat(resultset.NU_updated_dttm,'hh:mm tt')# </td>
         </tr>
         <tr>
              <td colspan="2" height="*" style="text-align:center; vertical-align:top;"><cfinput type="submit" name="submitBtn" value="Update"></td>
         </tr>
    </table>
    </cfform>
    </cfoutput>
    I've got the form inside an iFrame, already.  If I open edit_nu2.cfm directly in a browser, it works with no problem.  But opening it in the JS created CFWINDOW prevents the contents of the input type="file" from being recognized.
    ^_^

  • Mysql on macbook

    hello, i have a macbook running mac os x, version 10.6.1. I have apached setup and
    am running php as well. I recently downloaded and installed mysql and mysql gui tools.
    I tried to connect to mysql via mysql administrator and got the following error:
    connection error
    could not connect to mysql instance at localhost
    error can't connect to local mysql server through socket 'tmp/mysql.sock'(2) (code2002)
    I'm a developer and have picked up a mac to begin coding on the mac. I have a VAMP running and
    it works great; just want to figure out how to get mysql running on the mac.
    thanks

    HI,
    Im having a similar problem.
    However, here are some things I've discovered. If you go to the directory that you're pointing at, there's nothing there.
    If you've downloaded and installed the 5.1.x version from MySQL site, then you're probably having the same problem I'm having....PHP sees the 5.0.51 version but not the correct version that you've installed.
    Are you running the proper 64bit version or 32 ? It makes a difference. Im running 64 and I can't get PHP to connect.
    Further the MySQL admin is a piece of crap! Always has been on the mac. Get Navicat. You'll be happier. You can at least connect to your databases. PHP is a whole other story.
    Still another little detail is the date.timezone bug that's now present. Find this line in your PHP.INI file:
    ;date.timezone =
    and uncomment it. Then add your time zone location. http://php.net/manual/en/timezones.php
    Hope that helps....
    Miles

  • Mac Installation: AIR update needed to continue, then error in registration panel

    After uninstalling CFEclipse, CFBuilder Beta, Aptana and loading Eclipse in clean mode, I installed the plugin on my macbook pro intel. The first error I got was something to do with the incorrect AIR plugin and the message posted a link to the download site. I of course didn;t copy the link and then later was planning on googling it. Then once the restart of Eclipse happened, there was a second error saying that ColdFusion Builer could not load the registration and I had two choices, okay or cancel. Now after googling for this issue it does not seem that anyone else has had this problem. There is something related to AIR and the installation that caused it to fail. This was after uninstalling everything except my Java and Andriod plugins (JUnit, JAutodoc, Ant, Groovy, FindBugs, Android SDK, etc).

    Okay I figured it out after some digging into the AIR issue.
    For Mac users, if you don't have AIR installed you will need it for CFBuilder. Now the caveat is that AIR installs improperly because once installed uses only System user permissions. By default it does not have Administrator permissions so you need to go and reset the permissions for it to works properly. You will see this if you navigate to /Library/Frameworks/Adobe AIR.framework. This directory needs to be set to Admin read/write perissions and apply to all subdirectories. Then go ahead and install ColdFusion Builder and it installs without any issues. You still need to configure any application templates to have the builder plugin as the default editor if you are installing on top of a pre installation of Eclipse that previously had Aptana and CFEclipse installed. I'm not sure if this is an AIR or ColdFusion Builder bug but it is certainly going to cause Mac users some pain if this issue isn't either reconciled or documented.

  • LiveView on Droid X, Text Messaging Doesnt Display

    Hi All,
       I got a LiveView last week and so far on my DroidX everything seems to work about as well as I expected, EXCEPT Text Messaging never displays on the LiveView.
    This was a major feature I hoped would work even if some of the other less important ones didnt.
    Does anyone have any ideas as to how to get Text Messages to display on a DroidX?
    Ive tried everything I can think of but nothing seems to make any difference.
    I really like the concept of the LiveView and would like to see it develop rapidly.
    Thank you.

    ISSUE RESOLVED!!
    EXPLANATION OF ISSUE (FOR SONYERICSSON TECHNICIANS TO FIX IT THE RIGHT WAY)
    The problem you are having is a common one for Droids on Verizon's CDMA network, as well as Rogers in Canada and Sprint PCS.  Its just another form of the SMS time offset issue that's been plaguing us all for years...
    for some stupid reason, the CDMA network timestamps all messages in GMT, rather than the local timezone
    This issue is annoying, and should have been fixed in the verizon distributions of android a long time ago, but it is compounded by a confusing programming choice made by Sony Ericsson:
    Inside the dex file of the apk, in "com/sonyericsson/exttras.liveview/LiveViewService$9.class" on line 31 (ignoring blank lines and comments), there is a test run on the timestamp... (the exact code is "if (l1 > l2)")...  THIS TEST FAILS ON ALL CDMA PHONES WITH THE TIMEZONE BUG
    I'm not sure why they were working it that way, but they should have simply tested to see if the message was newer than the last message received... they apparently did not.
    HOW TO MAKE IT WORK (WITHOUT MODIFYING THE APK FILE)
    install SMS Time Fix from the market, and set the offset method to "timezone".  This fixes the issue, as well as issues with message order in restored backups.

  • CF11 cfgrid with binding.

    CF11 cfgrid with binding not work like with CF10.  Example
    bind="cfc:focasaDBAccess.getInfo({cfgridpage},
    {cfgridpagesize},
    {cfgridsortcolumn},
    {cfgridsortdirection},
    {internet},{agentur})">
    This dont work. Only with one additional arguments. Either "internet" or "agentur". With CF10 this work with much more additional arguments.
    Thanks
    Detlef
    how does cf11 cfgrid binding works with additional arguments
    at least eight or more.
    Thanks for support
    Detlef

    I have verified what you observed. You should report it as a ColdFusion 11 bug.

  • Bug In Java 5 Date/Calendar Timezone Implementation (possibly 6 also)

    Hey All,
    Really been scratching my head over a date issue I've observed for a while now in relation to TimeZone handling in java.
    It first manifested itself as strange behaviour in my Default TimeZone "Europe/Dublin" (ie. GMT with DST)
    e.g:
    System.setProperty("user.timezone", "Europe/Dublin");
    Date epoch=new Date(0);
    System.out.println("Epoch:"+epoch);
    yields:
    Epoch:Thu Jan 01 01:00:00 GMT 1970
    1AM (BUG???????)
    If I set the TZone above to GMT it outputs correctly as
    Epoch:Thu Jan 01 00:00:00 GMT 1970
    As there is no offset from GMT I can only think that DST is being handled incorrectly around the epoch. (even though it is not in DST on Jan 1st)
    So I wrote the following test using calendars to test my theory.
              System.setProperty("user.timezone", "UTC");
              Calendar test=Calendar.getInstance(); //will use the user.timezone
              Calendar test2=Calendar.getInstance(TimeZone.getTimeZone("Europe/Dublin"));
              for (int year=1965;(year<=1975);year++){
                   test.clear();test2.clear();
                   test.set(year, 0, 1, 0, 0, 0);
                   test2.set(year, 0, 1, 0, 0, 0);
                   System.out.println("UTC:"+ test.getTime()+ " --- EU/Dub:"+test2.getTime());
    Which yields the following interestingly inconsistent output (BUG?????)
    UTC:Fri Jan 01 00:00:00 UTC 1965 --- EU/Dub:Fri Jan 01 00:00:00 UTC 1965
    UTC:Sat Jan 01 00:00:00 UTC 1966 --- EU/Dub:Sat Jan 01 00:00:00 UTC 1966
    UTC:Sun Jan 01 00:00:00 UTC 1967 --- EU/Dub:Sun Jan 01 00:00:00 UTC 1967
    UTC:Mon Jan 01 00:00:00 UTC 1968 --- EU/Dub:Mon Jan 01 00:00:00 UTC 1968
    UTC:Wed Jan 01 00:00:00 UTC 1969 --- EU/Dub:Tue Dec 31 23:00:00 UTC 1968
    UTC:Thu Jan 01 00:00:00 UTC 1970 --- EU/Dub:Wed Dec 31 23:00:00 UTC 1969
    UTC:Fri Jan 01 00:00:00 UTC 1971 --- EU/Dub:Thu Dec 31 23:00:00 UTC 1970
    UTC:Sat Jan 01 00:00:00 UTC 1972 --- EU/Dub:Sat Jan 01 00:00:00 UTC 1972
    UTC:Mon Jan 01 00:00:00 UTC 1973 --- EU/Dub:Mon Jan 01 00:00:00 UTC 1973
    UTC:Tue Jan 01 00:00:00 UTC 1974 --- EU/Dub:Tue Jan 01 00:00:00 UTC 1974
    UTC:Wed Jan 01 00:00:00 UTC 1975 --- EU/Dub:Wed Jan 01 00:00:00 UTC 1975
    Strange - ehh? 1969->1971 all have issues with the Jan 1st date!!!!
    In fact theres issues for every day that DST is not in operation on these years... (BUG????)
    I'm part of a project that will be handling data from all Timezones and as such we have chosen
    to use UTC as our server time. We are now quite concerned what other bugs/strange behaviours
    lurk beneath the surface of the java implementation.
    Note we have tested various JDK's and they seem to be consistently inconsistent!
    If anyone can confrim this bug/issue or shed any light it would be most appreciated,
    G.

    miniman wrote:
    As there is no offset from GMT I can only think that DST is being handled incorrectly around the epoch. (even though it is not in DST on Jan 1st)Well, in the UK, DST was in effect on 1970 Jan 01. I wouldn't be surprised to find that the same applied in Ireland.

  • Aperture ... Bug .... timezones and smart albums

    Hello everyone,
    i've just jumped into the mac world a week ago, just bought my first macbook ! Yeah !
    I decided to give Aperture a try, and given i've played with it now for 2 days, if this bug I found is really there, NO WAY am I going to pay for such software !
    I've been using Picasa on PC for the past couple years now.
    Its handling my photo library extremely well: over 50gb of photos, 10 years worth of photos.
    So after looking at all the Aperture videos on the apple site, I decided to give it a try to replace my picasa, since there is no picasa for my new mac.
    The bug I found (and I'm a newbie !, 2 days of playing, struggling to import my pictures, and bam ... bug .... hummmm).
    I tried importing only 1 folder in my library.
    I'm french and this summer, went to USA for holiday. Western deserts and all.
    So, I took my folder:
    2008 08 09 - USA Grand West
    And tried importing it.
    It contains around 100 photos of the 1st 3 days of the trip.
    My camera was set to French time, so at import I appreciated the "Change time thingy" and set it to Los Angeles time.
    Did the import in a new project.
    Great.
    All pictures in the project. Exif Date updated to los angeles time. GREAT !
    Now.
    I want to have them show up on a day to day basis.
    So, I created smart albums giving the date I wanted.
    August 9 2008, August 10 2008 and August 11 2008.
    It DOES NOT WORK ! BUGGGGGGGG
    photos taken on the 3rd day, having correct EXIF date metadata, show 11/08/2008 for the date (correct), however they are not shown in the August 11 2008 album !
    They are shown in the August 12 2008 album !
    Reason !
    The smart album is using the wrond date. The French one.
    Since there is 11 hours difference.
    Some late August 11 (Los Angeles time) pictures are pushed to August 12 (early morning French time).
    Am I the only one with this bug ?
    The only fix I found for now that works, is adding 3 rules to the smart albums:
    - exif: day of the month = 11
    - exif: month of the yar = 08
    - exif: year = 2008
    That works.
    However there is NO WAY, i'm setting up 50gb worth of smart albums having to apply 3 specific rules to compensate for a bugged out calendar rule that does not work.
    Any ideas ? fixes ?
    Thanks
    Regards
    Tim

    Hum, i'm not sure I understand what is going on, or what you are describing.
    you say: "... Aperture is correct in it's assertion the image was taken on 12th"
    I dont understand.
    When i've done the import, and look at that pictures metadata, the date/time is corrected. It shows up as 15:42 20080811 (youre writting).
    So if the metadata is correct, I really dont understand how the computers time and timezone has any effect on the smart albums ... could you explain ?
    Unless what you are suggesting, is that the smart album date is applied to the computers time zone, and thus when searching for the files, it automatically does a conversion of the time of the picture to fit the computers timezone => thus my 15:42 20080811 set to Los Angeles time zone, is researched using a French timezone and thus found on 00:42 20080812 ?
    Wow, if so, this would be a stretch !
    And if this is the answer, I do not understand the "feature" to import using a different time zone, and not be able to search according to it ?
    There is effectively no point?
    In respect to the workaround you describe. Its effectively what I did, I sorted using 3 criterias: exif day of the month = 11, month of the year = 08, year = 2008. And for some reason that works !
    Would there be another workaround? Instead of using the TimeZone panel, import them untouched, and doing a batch Time change on the pictures once imported and leaving them at the same Paris timezone, but compensating for 9 hours, effectively, bringing them to 15:42 Paris time, instead of Los Angeles time ?
    If my memory is correct when having played with this, the batch time modification, did not compensate the days: Effectively, clicking 9 times on the down arrow when showing 00:42 12th did not change the 12th into an 11th ...

  • Adobe ColdFusion Builder Bugbase: Vote for Some of these Bugs to be Fixed

    As I'm sure you know CF Builder 3 isn't quite perfect yet and the Adobe Bugbase has a not-so-great search interface so I thought I would share some issues I reported recently which have impacted my workflow with the product.  Perhaps some of my fellow developers have also run into these annoyances.  If you have, or if you feel like supporting these issues to get Adobe's developers to fix them, I encourage you to also leave a note on each bug to increase the likelihood that they get fixed in the next release.  Feel free to also post links to bugs/feature requests you've submitted and perhaps the community will also support your bug reports as well.
    Below please find the name and link to each bug/feature request. To vote for the bug please click the "my vote" button at the bottom right corner of the page.
    Bug 1:Code Coloring Breaks When Comments Used Within Function with Named Arguments
    Bug#3831825 - Code Coloring Breaks When Comments Used Within Function with Named Arguments
    Bug 2: ColdFusion Builder 3.0 Hangs When Using Code Assist on Large Files
    Bug#3833130 - ColdFusion Builder 3.0 Hangs When Using Code Assist on Large Files 
    Note: Adobe has asked for code samples on this one. If you have a large CFM or CFC file that hangs when trying to provide suggestions please upload your file to the bug report.
    Feature Request 1: Code Suggest Enhancement: Ability to disable code suggest for variables / tags independantly
    https://bugbase.adobe.com/index.cfm?event=selectBug&CFGRIDKEY=3854326
    Note: This one is related to the above bug (bug #2). I believe that if we can turn on/off specific types of suggestions we can improve the performance when using code assist. This one will need a lot of votes since it's a feature request.
    Bug 3: ColdFusion Builder Ignores CFELSEIF/CFELSE Tags in Outline
    https://bugbase.adobe.com/index.cfm?event=selectBug&CFGRIDKEY=3865754

    Thanks Carl.  I haven't tried Twitter yet as I don't really have any followers that are fellow developers.  I've been looking for other people with relevant problems though on forums (this one, stackoverflow, etc...) and when I encounter them I pass along my bugbase submissions.

Maybe you are looking for